package
Version:
v0.1.2
Opens a new window with list of versions in this module.
Published: Mar 12, 2021
License: GPL-3.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
Provides implementation of errors for this project.
type ApiError struct {
Err string `json:"error"`
Msg string `json:"message"`
Code int `json:"code"`
}
ApiError is a general error struct for consuming and returning api errors.
ApiError implements error interface.
implements the error interface for ApiError
Source Files
¶
Click to show internal directories.
Click to hide internal directories.