Documentation ¶
Overview ¶
Package errors handles localized errors.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocalizedError ¶
type LocalizedError struct {
// contains filtered or unexported fields
}
LocalizedError represents an error than could be translated to another language.
func NewLocalizedError ¶
func NewLocalizedError(message string, args ...interface{}) *LocalizedError
NewLocalizedError returns a new LocalizedError.
func (LocalizedError) Error ¶
func (l LocalizedError) Error() string
Error returns untranslated error message.
Click to show internal directories.
Click to hide internal directories.