|
|
|
@ -43,7 +43,7 @@ The following list summarizes the HTTP status code that are used by the Yii REST
|
|
|
|
|
* `500`: Internal server error. This could be caused by internal program errors. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Customizing Error Response |
|
|
|
|
## Customizing Error Response <a name="customizing-error-response"></a> |
|
|
|
|
|
|
|
|
|
Sometimes you may want to customize the default error response format. For example, instead of relying on |
|
|
|
|
using different HTTP statuses to indicate different errors, you would like to always use 200 as HTTP status |
|
|
|
|