Discover Packages
github.com/forkbombeu/credimi
pkg
internal
apierror
package
Version:
v1.337.0
Opens a new window with list of versions in this module.
Published: Nov 18, 2026
License: AGPL-3.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0 modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
Documentation
Documentation
¶
APIVersion is stamped on every error response of a Credimi route group.
type APIError struct {
Code int `json:"code"`
Domain string `json:"domain"`
Reason string `json:"reason"`
Message string `json:"message"`
}
APIError is the error returned by handlers of Credimi route groups.
ErrorHandlingMiddleware renders it as the "error" object of a Response.
Error implements the error interface.
Response wraps the error in the response envelope, using its message as the
top-level message.
type Response struct {
APIVersion string `json:"apiVersion"`
Message string `json:"message"`
Error *APIError `json:"error"`
}
Response is the JSON body of every error answered by a Credimi route group.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.