Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// HTTPErrors permite crear HTTPError precreados
HTTPErrors = httpErrors{}
)
Functions ¶
This section is empty.
Types ¶
type Frame ¶
type Frame struct {
// Func contains a function name.
Func string
// Line contains a line number.
Line int
// Path contains a file path.
Path string
}
Frame .
func ErrorStackTrace ¶
ErrorStackTrace . skip Es la posicion de donde comienza el tracking del error El valor de skip debe empezar en "2" para no tomar en cuenta esta funcion "errorStackTrace()" Con esto tenemos un mejor y claro tracking
type HTTPError ¶
type HTTPError struct {
StatusCode int `json:"statusCode"`
Success bool `json:"success"`
MessageID string `json:"messageId"`
Data map[string]interface{} `json:"data,omitempty"`
Message string `json:"message"`
}
HTTPError .
Click to show internal directories.
Click to hide internal directories.