Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorResponseObject ¶
type ErrorResponseObject struct {
Message string `json:"message"`
}
ErrorResponseObject error時に返却するオブジェクト
func GetErrorResponse ¶
func GetErrorResponse(err *applications.UsecaseError) (int, ErrorResponseObject)
GetErrorResponse ErrorCodeとErrorResponseObjectを返却する
Click to show internal directories.
Click to hide internal directories.