API Reference
Exceptions
HttpException and built-in exception reference
gonest.HttpException — base type. NewHttpException().SetStatus(...).SetName(...).SetMessage(...).SetDetails(...)
Built-ins
| Type | Status | Constructor |
|---|---|---|
NotFoundException | 404 | NewNotFoundException(details any) |
BadRequestException | 400 | NewBadRequestException(details any) |
ConflictException | 409 | NewConflictException(details any) |
UnauthorizedException | 401 | NewUnauthorizedException(details any) |
ForbiddenException | 403 | NewForbiddenException(details any) |
gonest.HttpStatus* — all 63 standard net/http.StatusXxx constants re-exported.