Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithContext ¶
func WithContext(ctx Context) optFunc
func WithHTTPCode ¶
func WithHTTPCode(code int) optFunc
func WithHTTPDetail ¶
func WithHTTPDetail(detail HTTPDetail) optFunc
func WithHiddenFrames ¶
func WithHiddenFrames(n uint) optFunc
Types ¶
type HTTPDetail ¶
type HTTPDetail uint8
const ( NoHTTPDetail HTTPDetail = iota MessageHTTPDetail ContextHTTPDetail )
type RedgiantError ¶
type RedgiantError struct {
// contains filtered or unexported fields
}
func New ¶
func New(msg string, opts ...optFunc) *RedgiantError
func (RedgiantError) Error ¶
func (rge RedgiantError) Error() string
func (RedgiantError) MarshalZerologObject ¶
func (rge RedgiantError) MarshalZerologObject(e *zerolog.Event)
func (RedgiantError) SendAsResponse ¶
func (rge RedgiantError) SendAsResponse(c echo.Context)
type RedgiantErrorer ¶
type RedgiantErrorer interface {
error
zerolog.LogObjectMarshaler
SendAsResponse(c echo.Context)
}
Click to show internal directories.
Click to hide internal directories.