Browse Source

added anchor [skip ci]

tags/2.0.0-rc
Qiang Xue 10 years ago
parent
commit
8ff4db3c02
  1. 2
      docs/guide/rest-error-handling.md

2
docs/guide/rest-error-handling.md

@ -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

Loading…
Cancel
Save