Documentation ¶
Index ¶
Constants ¶
View Source
const StatusExpiredAccessToken = 498
StatusExpiredAccessToken is an HTTP status code used when an access token is expired.
Variables ¶
This section is empty.
Functions ¶
func StatusCode ¶ added in v0.6.0
StatusCode returns the HTTP status code.
Types ¶
type SFError ¶
type SFError struct { HTTPCode int `json:"-"` FieldError err `json:"error"` }
An SFError represents the error format that can be rendered by stnadardfile server.
func NewWithTagCode ¶ added in v0.6.0
NewWithTagCode returns a new SFError with the given code, tag and message.
Click to show internal directories.
Click to hide internal directories.