package
Version:
v1.1.13
Opens a new window with list of versions in this module.
Published: Sep 11, 2020
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Is reports whether err is an *Error of the given Type.
If err is nil then Is returns false.
Error represents a error's specification.
func E(args ...interface{}) *Error
E create a new error.
func T(args ...interface{}) *Error
T create a new error with runtime stack trace.
func (e *Error) JSON() interface{}
JSON creates a properly formatted JSON
MarshalJSON implements the json.Marshaller interface.
SetMeta sets the error's meta data.
type Params map[string]interface{}
const (
TypeNone Type = iota
TypePlatformUnmarshal
TypePlatformNormalize
TypePlatformUnknown
TypePlatformRequest
TypePlatformClient
TypePlatformError
TypePlatformApi
TypeUnknown
)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.