Documentation
¶
Index ¶
- type ApiError
- func (*ApiError) BadRequestError(in string) jsonapi.Option
- func (*ApiError) ForbiddenError(ktx kontext.Context, entityType, reason string) jsonapi.Option
- func (*ApiError) InternalServerError(ktx kontext.Context) jsonapi.Option
- func (*ApiError) NotFoundError(ktx kontext.Context, entityType string) jsonapi.Option
- func (*ApiError) UnauthorizedError() jsonapi.Option
- func (*ApiError) ValidationError(msg string) jsonapi.Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiError ¶
type ApiError struct{}
func NewApiError ¶
func NewApiError() *ApiError
func (*ApiError) ForbiddenError ¶
func (*ApiError) InternalServerError ¶
func (*ApiError) NotFoundError ¶
func (*ApiError) UnauthorizedError ¶
Click to show internal directories.
Click to hide internal directories.