Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorResponse ¶
type ErrorResponse struct { // ステータス // @Example "error" Status string `example:"error" json:"status"` // エラーメッセージ // @Example "プランが見つかりません" Error string `example:"プランが見つかりません" json:"error"` }
ErrorResponse エラーレスポンス @Description エラー情報のレスポンス.
func NewErrorResponse ¶
func NewErrorResponse(err error) ErrorResponse
NewErrorResponse は新しいErrorResponseインスタンスを生成します.
Click to show internal directories.
Click to hide internal directories.