generated from TBD54566975/tbd-project-template
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: move schema errors to language.proto
- Loading branch information
Showing
24 changed files
with
2,603 additions
and
1,340 deletions.
There are no files selected for viewing
308 changes: 308 additions & 0 deletions
308
backend/protos/xyz/block/ftl/v1/language/language.pb.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
syntax = "proto3"; | ||
|
||
package xyz.block.ftl.v1.language; | ||
|
||
import "xyz/block/ftl/v1/schema/schema.proto"; | ||
option go_package = "github.com/TBD54566975/ftl/backend/protos/xyz/block/ftl/v1/language;languagepb"; | ||
option java_multiple_files = true; | ||
|
||
message Error { | ||
enum ErrorLevel { | ||
INFO = 0; | ||
WARN = 1; | ||
ERROR = 2; | ||
} | ||
|
||
string msg = 1; | ||
schema.Position pos = 2; | ||
int64 endColumn = 3; | ||
ErrorLevel level = 4; | ||
} | ||
|
||
message ErrorList { | ||
repeated Error errors = 1; | ||
} |
Oops, something went wrong.