Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorType ¶
type ErrorType string
ErrorType is returned to slicer inside DONE
const ( // Extension errors AgentInitError ErrorType = "Extension.InitError" // agent exited after calling /extension/init/error AgentExitError ErrorType = "Extension.ExitError" // agent exited after calling /extension/exit/error AgentCrash ErrorType = "Extension.Crash" // agent crashed unexpectedly AgentLaunchError ErrorType = "Extension.LaunchError" // agent could not be launched // Runtime errors RuntimeExit ErrorType = "Runtime.ExitError" InvalidEntrypoint ErrorType = "Runtime.InvalidEntrypoint" InvalidWorkingDir ErrorType = "Runtime.InvalidWorkingDir" InvalidTaskConfig ErrorType = "Runtime.InvalidTaskConfig" TruncatedResponse ErrorType = "Runtime.TruncatedResponse" RuntimeInvalidResponseModeHeader ErrorType = "Runtime.InvalidResponseModeHeader" RuntimeUnknown ErrorType = "Runtime.Unknown" // Function errors FunctionOversizedResponse ErrorType = "Function.ResponseSizeTooLarge" FunctionUnknown ErrorType = "Function.Unknown" // Sandbox errors SandboxFailure ErrorType = "Sandbox.Failure" SandboxTimeout ErrorType = "Sandbox.Timeout" )
TODO: Find another name than "fatalerror" TODO: Rename all const so that they always begin with Agent/Runtime/Sandbox/Function TODO: Add filtering for extensions as well
Click to show internal directories.
Click to hide internal directories.