Documentation ¶
Index ¶
Constants ¶
View Source
const ( BadRequest = iota + 1 // BadRequest リクエスト不正 NotFound // NotFound 存在しない Conflict // Conflict 競合 Internalexception // Internalexception その他内部エラー )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type UsecaseError ¶
UError Usecase Error
func GetUErrorByError ¶
func GetUErrorByError(err error) *UsecaseError
GetUErrorByError Get Usecase Error By Error
func (*UsecaseError) IsRecordNotFoundUError ¶
func (err *UsecaseError) IsRecordNotFoundUError() bool
IsRecordNotFoundUError Error is NotFound
Click to show internal directories.
Click to hide internal directories.