Documentation
¶
Index ¶
- func GetStackTrace(err error) string
- func IsInternal(err error) bool
- func IsNotFound(err error) bool
- func IsPrecondition(err error) bool
- func NewInternalError(err error) error
- func NewNotFoundError(entity string) error
- func NewPreconditionError(message string) error
- func WithStack(err error) error
- type ErrorType
- type TwitterError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetStackTrace ¶
func IsInternal ¶
func IsNotFound ¶
func IsPrecondition ¶
func NewInternalError ¶
NewXxxErrorを呼び出すときは常にWithStackも呼び出したい気がしてきた。
func NewNotFoundError ¶
func NewPreconditionError ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.