Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetErrorFormat ¶
func SetTimeFormat ¶
Types ¶
type Error ¶
type Error string
const ( USOE = UnacceptableStateOfExecution UnacceptableStateOfExecution Error = "unacceptable state of execution" InternalServiceError Error = "internal service error" InvalidArgument Error = "invalid argument" InvalidMethod Error = "invalid method" NilArgument Error = "nil argument" NilReturnValue Error = "nil return value" InvalidReturnValue Error = "invalid return value" InvalidReturnType Error = "invalid return type" ConnectionError Error = "connection error" NotSupported Error = "not supported" Overdue Error = "overdue" Expired Error = "expired" ClosedChannel Error = "closed channel" TypeMismatch Error = "type mismatch" AccessDenied Error = "access denied" NotFound Error = "not found" AlreadyExist Error = "already exist" FileError Error = "file error" SerializationError Error = "serialization error" DeserializationError Error = "deserialization error" ExternalError Error = "external error" JustError Error = "error" UnknownError Error = "unknown error" )
func (Error) Extend ¶
Extends Error to extendedError. The skip value tells how many function calls to skip before getting the function name
func (Error) ExtendAndLink ¶
Extends Error to extendedError and links the given error as an ExternalError. The skip value tells how many function calls to skip before getting the function name
Click to show internal directories.
Click to hide internal directories.