Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Success = New(0, "success") InternalError = New(500, "internal error") ValidationError = New(400, "validation error") Forbidden = New(403, "forbidden") NotFound = New(404, "not found") MethodNotAllowed = New(405, "method not allowed") )
预定义错误码
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.