@@ -402,57 +402,56 @@ dealt with by ErrorTrap by setting the `log` option to `true` in your
402402
403403### HTTP Exceptions
404404
405- There are several built-in exceptions inside CakePHP, outside of the
406- internal framework exceptions, there are several
407- exceptions for HTTP methods
405+ Besides the internal framework exceptions, CakePHP provides several
406+ built-in exceptions for HTTP methods
408407
409- > nocontentsentry
408+ > nocontentsentry
410409>
411410> > Used for doing 400 Bad Request error.
412411>
413- > nocontentsentry
412+ > nocontentsentry
414413>
415414> > Used for doing a 401 Unauthorized error.
416415>
417- > nocontentsentry
416+ > nocontentsentry
418417>
419418> > Used for doing a 403 Forbidden error.
420419>
421- > nocontentsentry
420+ > nocontentsentry
422421>
423422> > Used for doing a 403 error caused by an invalid CSRF token.
424423>
425- > nocontentsentry
424+ > nocontentsentry
426425>
427426> > Used for doing a 404 Not found error.
428427>
429- > nocontentsentry
428+ > nocontentsentry
430429>
431430> > Used for doing a 405 Method Not Allowed error.
432431>
433- > nocontentsentry
432+ > nocontentsentry
434433>
435434> > Used for doing a 406 Not Acceptable error.
436435>
437- > nocontentsentry
436+ > nocontentsentry
438437>
439438> > Used for doing a 409 Conflict error.
440439>
441- > nocontentsentry
440+ > nocontentsentry
442441>
443442> > Used for doing a 410 Gone error.
444443
445444For more details on HTTP 4xx error status codes see ` 2616#section-10.4 ` .
446445
447- > nocontentsentry
446+ > nocontentsentry
448447>
449448> > Used for doing a 500 Internal Server Error.
450449>
451- > nocontentsentry
450+ > nocontentsentry
452451>
453452> > Used for doing a 501 Not Implemented Errors.
454453>
455- > nocontentsentry
454+ > nocontentsentry
456455>
457456> > Used for doing a 503 Service Unavailable error.
458457
@@ -506,93 +505,93 @@ page, and log the exception.
506505
507506In addition, CakePHP uses the following exceptions:
508507
509- > nocontentsentry
508+ > nocontentsentry
510509>
511510> > The chosen view class could not be found.
512511>
513- > nocontentsentry
512+ > nocontentsentry
514513>
515514> > The chosen template file could not be found.
516515>
517- > nocontentsentry
516+ > nocontentsentry
518517>
519518> > The chosen layout could not be found.
520519>
521- > nocontentsentry
520+ > nocontentsentry
522521>
523522> > The chosen helper could not be found.
524523>
525- > nocontentsentry
524+ > nocontentsentry
526525>
527526> > The chosen element file could not be found.
528527>
529- > nocontentsentry
528+ > nocontentsentry
530529>
531530> > The chosen cell class could not be found.
532531>
533- > nocontentsentry
532+ > nocontentsentry
534533>
535534> > The chosen cell view file could not be found.
536535>
537- > nocontentsentry
536+ > nocontentsentry
538537>
539538> > A configured component could not be found.
540539>
541- > nocontentsentry
540+ > nocontentsentry
542541>
543542> > The requested controller action could not be found.
544543>
545- > nocontentsentry
544+ > nocontentsentry
546545>
547546> > Accessing private/protected/\_ prefixed actions.
548547>
549- > nocontentsentry
548+ > nocontentsentry
550549>
551550> > A console library class encounter an error.
552551>
553- > nocontentsentry
552+ > nocontentsentry
554553>
555554> > A model's connection is missing.
556555>
557- > nocontentsentry
556+ > nocontentsentry
558557>
559558> > A database driver could not be found.
560559>
561- > nocontentsentry
560+ > nocontentsentry
562561>
563562> > A PHP extension is missing for the database driver.
564563>
565- > nocontentsentry
564+ > nocontentsentry
566565>
567566> > A model's table could not be found.
568567>
569- > nocontentsentry
568+ > nocontentsentry
570569>
571570> > A model's entity could not be found.
572571>
573- > nocontentsentry
572+ > nocontentsentry
574573>
575574> > A model's behavior could not be found.
576575>
577- > nocontentsentry
576+ > nocontentsentry
578577>
579578> > An entity couldn't be saved/deleted while using ` Cake\ORM\Table::saveOrFail() ` or
580579> > ` Cake\ORM\Table::deleteOrFail() ` .
581580>
582- > nocontentsentry
581+ > nocontentsentry
583582>
584583> The requested record could not be found. This will also set HTTP response
585584> headers to 404.
586585>
587- > nocontentsentry
586+ > nocontentsentry
588587>
589588> > The requested controller could not be found.
590589>
591- > nocontentsentry
590+ > nocontentsentry
592591>
593592> > The requested URL cannot be reverse routed or cannot be parsed.
594593>
595- > nocontentsentry
594+ > nocontentsentry
596595>
597596> > Base exception class in CakePHP. All framework layer exceptions thrown by
598597> > CakePHP will extend this class.
0 commit comments