package
Version:
v1.0.1
Opens a new window with list of versions in this module.
Published: Aug 18, 2017
License: BSD-3-Clause
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
CatchPanic catch the error panic and pretty print
Check return panic when error != nil
type Err struct {
Name string
}
Err used for return string error
type Errors struct {
ParameterName string `json:"parameter_name"`
Type string `json:"type"`
Message string `json:"message"`
}
Errors relationship on ErrorsAPI
type ErrorsAPI struct {
Errors []Errors `json:"errors"`
Url string `json:"url"`
Method string `json:"method"`
}
ErrorsAPI struct for return errors of the API
Source Files
¶
Click to show internal directories.
Click to hide internal directories.