package
Version:
v0.0.0-...-7fa7ca5
Opens a new window with list of versions in this module.
Published: Mar 26, 2022
License: MIT
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
¶
HandleEntError is a method to handle Ent's errors.
type Error struct {
Code int `json:"code"`
Message interface{} `json:"message"`
}
Error represents an error that occurred while handling a request.
func NewErrors(code int, messages ...interface{}) *Error
NewErrors creates multiple new Error messages
Error makes it compatible with the `error` interface.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.