Documentation ¶
Index ¶
- func CUEEvaluationFailed(err error, pathPrefix string) error
- func ConfigLoadNoArguments(fileset *token.FileSet, node *ast.CallExpr) error
- func ConfigMustBeTopLevelPackage(fileset *token.FileSet, node ast.Node) error
- func ConfigOnlyLoadedFromService(fileset *token.FileSet, node ast.Node) error
- func ConfigOnlyReferencedSameService(fileset *token.FileSet, reference ast.Node, defined ast.Node) error
- func ConfigTypeHasUnexportFields(fileset *token.FileSet, loadCall ast.Node, field *ast.Field) error
- func ConfigValueTypeNotSet(fileset *token.FileSet, node ast.Node) error
- func ConfigWrapperNested(fileset *token.FileSet, node ast.Node, funcCall *ast.CallExpr) error
- func DatabaseNotFound(fileset *token.FileSet, node ast.Node, dbName string) error
- func GenericGoCompilerError(fileName string, lineNumber int, column int, error string) error
- func GenericGoParserError(err *scanner.Error) *errinsrc.ErrInSrc
- func UnableToAddOrphanedCUEFiles(err error, pathPrefix string) error
- func UnableToLoadCUEInstances(err error, pathPrefix string) error
- func UnhandledPanic(recovered any) error
- func UnknownConfigWrapperType(fileset *token.FileSet, node ast.Node, ident *ast.Ident) error
- func UnknownErrorCompilingConfig(fileset *token.FileSet, node ast.Node, err error) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CUEEvaluationFailed ¶
func ConfigLoadNoArguments ¶
func ConfigValueTypeNotSet ¶
func ConfigWrapperNested ¶
func DatabaseNotFound ¶
func GenericGoCompilerError ¶
GenericGoCompilerError reports an error was that was reported from the Go compiler. It should not be returned by any errors caused by Encore's own compiler as they should have specific errors listed below.
func GenericGoParserError ¶
GenericGoParserError reports an error was that was reported from the Go parser. It should not be returned by any errors caused by Encore's own parser as they should have specific errors listed below
func UnhandledPanic ¶
UnhandledPanic is an error we use to wrap a panic that was not handled It should ideally never be seen by users, but if it is, it means we have a bug within Encore which needs fixing.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.