Skip to content

Commit

Permalink
refactor: move schema errors to language.proto
Browse files Browse the repository at this point in the history
  • Loading branch information
matt2e committed Oct 2, 2024
1 parent 8538155 commit 7236911
Show file tree
Hide file tree
Showing 24 changed files with 2,603 additions and 1,340 deletions.
308 changes: 308 additions & 0 deletions 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.

24 changes: 24 additions & 0 deletions backend/protos/xyz/block/ftl/v1/language/language.proto
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;
}
Loading

0 comments on commit 7236911

Please sign in to comment.