Documentation
¶
Index ¶
Constants ¶
View Source
const ( ErrInternal = "INTERNAL" ErrConflict = "CONFLICT" ErrInsufficientFund = "INSUFFICIENT_FUND" ErrValidation = "VALIDATION" ErrContextCancelled = "CONTEXT_CANCELLED" ErrStore = "STORE" ErrNotFound = "NOT_FOUND" ErrScriptCompilationFailed = "COMPILATION_FAILED" ErrScriptNoScript = "NO_SCRIPT" ErrScriptMetadataOverride = "METADATA_OVERRIDE" )
Variables ¶
This section is empty.
Functions ¶
func EncodeLink ¶ added in v1.9.0
func ResponseError ¶
Types ¶
type ErrorResponse ¶
type ErrorResponse struct {
ErrorCode string `json:"error_code,omitempty"`
ErrorMessage string `json:"error_message,omitempty"`
Details string `json:"details,omitempty"`
}
TODO: update sharedapi.ErrorResponse with new details field
Click to show internal directories.
Click to hide internal directories.