Documentation
¶
Index ¶
Constants ¶
View Source
const ( ErrorCodeInternalServer ErrorCode = 500 ErrorCodeBadRequest = 400 ErrCodeNotFoundHandler = 401 )
Variables ¶
View Source
var (
DefaultErrorPacket = NewErrorPacket()
)
Functions ¶
Types ¶
type ErrorPackager ¶
type ErrorPacket ¶
type ErrorPacket struct {
// contains filtered or unexported fields
}
func NewErrorPacket ¶
func NewErrorPacket() *ErrorPacket
Click to show internal directories.
Click to hide internal directories.