package
Version:
v0.0.0-...-ddd20ef
Opens a new window with list of versions in this module.
Published: Apr 21, 2019
License: Apache-2.0
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
¶
type Error struct {
Message string `json:"message"`
Err string `json:"error"`
Config map[string]interface{} `json:"config"`
}
toPrettyJson encodes an item into a pretty (indented) JSON string
func (e *Error) FailIfErr()
toPrettyJson encodes an item into a pretty (indented) JSON string
toPrettyJson encodes an item into a pretty (indented) JSON string
func (e *Error) WarnIfErr()
toPrettyJson encodes an item into a pretty (indented) JSON string
Source Files
¶
Click to show internal directories.
Click to hide internal directories.