Skip to content

Commit bc6043e

Browse files
authored
Merge pull request cakephp#7727 from cakephp/fix-noncontentsentry
Fix nocontentsentry domain option
2 parents 8d6ed10 + e7d560d commit bc6043e

File tree

1 file changed

+35
-35
lines changed

1 file changed

+35
-35
lines changed

en/development/errors.rst

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -379,64 +379,64 @@ internal framework exceptions, there are several
379379
exceptions for HTTP methods
380380

381381
.. php:exception:: BadRequestException
382-
:no-contents-entry:
382+
:nocontentsentry:
383383

384384
Used for doing 400 Bad Request error.
385385

386386
.. php:exception:: UnauthorizedException
387-
:no-contents-entry:
387+
:nocontentsentry:
388388

389389
Used for doing a 401 Unauthorized error.
390390

391391
.. php:exception:: ForbiddenException
392-
:no-contents-entry:
392+
:nocontentsentry:
393393

394394
Used for doing a 403 Forbidden error.
395395

396396
.. php:exception:: InvalidCsrfTokenException
397-
:no-contents-entry:
397+
:nocontentsentry:
398398

399399
Used for doing a 403 error caused by an invalid CSRF token.
400400

401401
.. php:exception:: NotFoundException
402-
:no-contents-entry:
402+
:nocontentsentry:
403403

404404
Used for doing a 404 Not found error.
405405

406406
.. php:exception:: MethodNotAllowedException
407-
:no-contents-entry:
407+
:nocontentsentry:
408408

409409
Used for doing a 405 Method Not Allowed error.
410410

411411
.. php:exception:: NotAcceptableException
412-
:no-contents-entry:
412+
:nocontentsentry:
413413

414414
Used for doing a 406 Not Acceptable error.
415415

416416
.. php:exception:: ConflictException
417-
:no-contents-entry:
417+
:nocontentsentry:
418418

419419
Used for doing a 409 Conflict error.
420420

421421
.. php:exception:: GoneException
422-
:no-contents-entry:
422+
:nocontentsentry:
423423

424424
Used for doing a 410 Gone error.
425425

426426
For more details on HTTP 4xx error status codes see :rfc:`2616#section-10.4`.
427427

428428
.. php:exception:: InternalErrorException
429-
:no-contents-entry:
429+
:nocontentsentry:
430430

431431
Used for doing a 500 Internal Server Error.
432432

433433
.. php:exception:: NotImplementedException
434-
:no-contents-entry:
434+
:nocontentsentry:
435435

436436
Used for doing a 501 Not Implemented Errors.
437437

438438
.. php:exception:: ServiceUnavailableException
439-
:no-contents-entry:
439+
:nocontentsentry:
440440

441441
Used for doing a 503 Service Unavailable error.
442442

@@ -491,128 +491,128 @@ In addition, CakePHP uses the following exceptions:
491491
.. php:namespace:: Cake\View\Exception
492492
493493
.. php:exception:: MissingViewException
494-
:no-contents-entry:
494+
:nocontentsentry:
495495

496496
The chosen view class could not be found.
497497

498498
.. php:exception:: MissingTemplateException
499-
:no-contents-entry:
499+
:nocontentsentry:
500500

501501
The chosen template file could not be found.
502502

503503
.. php:exception:: MissingLayoutException
504-
:no-contents-entry:
504+
:nocontentsentry:
505505

506506
The chosen layout could not be found.
507507

508508
.. php:exception:: MissingHelperException
509-
:no-contents-entry:
509+
:nocontentsentry:
510510

511511
The chosen helper could not be found.
512512

513513
.. php:exception:: MissingElementException
514-
:no-contents-entry:
514+
:nocontentsentry:
515515

516516
The chosen element file could not be found.
517517

518518
.. php:exception:: MissingCellException
519-
:no-contents-entry:
519+
:nocontentsentry:
520520

521521
The chosen cell class could not be found.
522522

523523
.. php:exception:: MissingCellViewException
524-
:no-contents-entry:
524+
:nocontentsentry:
525525

526526
The chosen cell view file could not be found.
527527

528528
.. php:namespace:: Cake\Controller\Exception
529529
530530
.. php:exception:: MissingComponentException
531-
:no-contents-entry:
531+
:nocontentsentry:
532532

533533
A configured component could not be found.
534534

535535
.. php:exception:: MissingActionException
536-
:no-contents-entry:
536+
:nocontentsentry:
537537

538538
The requested controller action could not be found.
539539

540540
.. php:exception:: PrivateActionException
541-
:no-contents-entry:
541+
:nocontentsentry:
542542

543543
Accessing private/protected/_ prefixed actions.
544544

545545
.. php:namespace:: Cake\Console\Exception
546546
547547
.. php:exception:: ConsoleException
548-
:no-contents-entry:
548+
:nocontentsentry:
549549

550550
A console library class encounter an error.
551551

552552
.. php:namespace:: Cake\Database\Exception
553553
554554
.. php:exception:: MissingConnectionException
555-
:no-contents-entry:
555+
:nocontentsentry:
556556

557557
A model's connection is missing.
558558

559559
.. php:exception:: MissingDriverException
560-
:no-contents-entry:
560+
:nocontentsentry:
561561

562562
A database driver could not be found.
563563

564564
.. php:exception:: MissingExtensionException
565-
:no-contents-entry:
565+
:nocontentsentry:
566566

567567
A PHP extension is missing for the database driver.
568568

569569
.. php:namespace:: Cake\ORM\Exception
570570
571571
.. php:exception:: MissingTableException
572-
:no-contents-entry:
572+
:nocontentsentry:
573573

574574
A model's table could not be found.
575575

576576
.. php:exception:: MissingEntityException
577-
:no-contents-entry:
577+
:nocontentsentry:
578578

579579
A model's entity could not be found.
580580

581581
.. php:exception:: MissingBehaviorException
582-
:no-contents-entry:
582+
:nocontentsentry:
583583

584584
A model's behavior could not be found.
585585

586586
.. php:exception:: PersistenceFailedException
587-
:no-contents-entry:
587+
:nocontentsentry:
588588

589589
An entity couldn't be saved/deleted while using :php:meth:`Cake\\ORM\\Table::saveOrFail()` or
590590
:php:meth:`Cake\\ORM\\Table::deleteOrFail()`.
591591

592592
.. php:namespace:: Cake\Datasource\Exception
593593
594594
.. php:exception:: RecordNotFoundException
595-
:no-contents-entry:
595+
:nocontentsentry:
596596

597597
The requested record could not be found. This will also set HTTP response
598598
headers to 404.
599599

600600
.. php:namespace:: Cake\Routing\Exception
601601
602602
.. php:exception:: MissingControllerException
603-
:no-contents-entry:
603+
:nocontentsentry:
604604

605605
The requested controller could not be found.
606606

607607
.. php:exception:: MissingRouteException
608-
:no-contents-entry:
608+
:nocontentsentry:
609609

610610
The requested URL cannot be reverse routed or cannot be parsed.
611611

612612
.. php:namespace:: Cake\Core\Exception
613613
614614
.. php:exception:: Exception
615-
:no-contents-entry:
615+
:nocontentsentry:
616616

617617
Base exception class in CakePHP. All framework layer exceptions thrown by
618618
CakePHP will extend this class.
@@ -621,7 +621,7 @@ These exception classes all extend :php:exc:`Exception`.
621621
By extending Exception, you can create your own 'framework' errors.
622622

623623
.. php:method:: responseHeader($header = null, $value = null)
624-
:no-contents-entry:
624+
:nocontentsentry:
625625

626626
See :php:func:`Cake\\Network\\Request::header()`
627627

0 commit comments

Comments
 (0)