Documentation ¶
Index ¶
- Constants
- func FailOnError(sourceError error, wrapWith reflect.Type, errorCode string)
- func FailOnErrorWithMessage(sourceError error, message string, wrapWith reflect.Type, errorCode string)
- func GetExitCode(err error, fromPanic bool) int
- func WrapsWith(sourceError error, wrapWith reflect.Type, errorCode string) perr.ErrorModel
Constants ¶
View Source
const ( ErrorCodeModLoadFailed = "error_mod_load_failed" ErrorCodeModInstallFailed = "error_mod_install_failed" ErrorCodeAPIInitFailed = "error_api_init_failed" ErrorCodeUnknownError = "error_unknown_error" ErrorCodeResourceNotFound = "error_resource_not_found" ExitCodeExecutionPaused = 1 ExitCodeExecutionFailed = 2 ExitCodeExecutionCancelled = 3 ExitCodeExecutionDidNotStart = 9 ExitCodeUnknownFlowpipeError = 10 )
Variables ¶
This section is empty.
Functions ¶
func FailOnErrorWithMessage ¶
func GetExitCode ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.