Documentation
¶
Index ¶
Constants ¶
View Source
const ( NA = Error("N/A") // Special error type. NotYetImplemented = Error("Not yet implemented") Unauthenticated = Error("Failed auth") // Authentication - Who are you? InvalidToken = Error("Invalid token") InvalidRequest = Error("Invalid request") InvalidHeader = Error("Invalid header") MissingHeader = Error("Missing header") ServiceDown = Error("Service unavailable") InvalidParameter = Error("Invalid parameter") // Common error case about invalid parameter ItemNotFound = Error("Item not found") // Common error case item not found )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileNotFound ¶
FileNotFound is used when a requested file is not found in the system
func (FileNotFound) Error ¶
func (f FileNotFound) Error() string
Error returns an error message indicating that the file was not found
Click to show internal directories.
Click to hide internal directories.