Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommonError ¶
type CommonError struct { Func string // the failing functions Data string // the input Err error // the reason the conversion failed (e.g. ErrRange, ErrSyntax, etc.) }
func (*CommonError) Error ¶
func (e *CommonError) Error() string
func (*CommonError) Unwrap ¶
func (e *CommonError) Unwrap() error
type ErrorInt ¶
type ErrorInt interface {
CurrentError() ErrorStateType
}
func New ¶
func New(state ErrorStateType) ErrorInt
type ErrorStateType ¶
type ErrorStateType int64
const ( Unexpected_Error ErrorStateType = iota CanNotFoundFile_Error Marshal_Error NotionAPIRequest_Error TistoryAPIRequest_Error Arguments_Error )
func (ErrorStateType) String ¶
func (err ErrorStateType) String() string
Click to show internal directories.
Click to hide internal directories.