Skip to content

Commit

Permalink
Merge pull request cakephp#7727 from cakephp/fix-noncontentsentry
Browse files Browse the repository at this point in the history
Fix nocontentsentry domain option
  • Loading branch information
othercorey authored Sep 25, 2023
2 parents 8d6ed10 + e7d560d commit bc6043e
Showing 1 changed file with 35 additions and 35 deletions.
70 changes: 35 additions & 35 deletions en/development/errors.rst
Original file line number Diff line number Diff line change
Expand Up @@ -379,64 +379,64 @@ internal framework exceptions, there are several
exceptions for HTTP methods

.. php:exception:: BadRequestException
:no-contents-entry:
:nocontentsentry:

Used for doing 400 Bad Request error.

.. php:exception:: UnauthorizedException
:no-contents-entry:
:nocontentsentry:

Used for doing a 401 Unauthorized error.

.. php:exception:: ForbiddenException
:no-contents-entry:
:nocontentsentry:

Used for doing a 403 Forbidden error.

.. php:exception:: InvalidCsrfTokenException
:no-contents-entry:
:nocontentsentry:

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

.. php:exception:: NotFoundException
:no-contents-entry:
:nocontentsentry:

Used for doing a 404 Not found error.

.. php:exception:: MethodNotAllowedException
:no-contents-entry:
:nocontentsentry:

Used for doing a 405 Method Not Allowed error.

.. php:exception:: NotAcceptableException
:no-contents-entry:
:nocontentsentry:

Used for doing a 406 Not Acceptable error.

.. php:exception:: ConflictException
:no-contents-entry:
:nocontentsentry:

Used for doing a 409 Conflict error.

.. php:exception:: GoneException
:no-contents-entry:
:nocontentsentry:

Used for doing a 410 Gone error.

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

.. php:exception:: InternalErrorException
:no-contents-entry:
:nocontentsentry:

Used for doing a 500 Internal Server Error.

.. php:exception:: NotImplementedException
:no-contents-entry:
:nocontentsentry:

Used for doing a 501 Not Implemented Errors.

.. php:exception:: ServiceUnavailableException
:no-contents-entry:
:nocontentsentry:

Used for doing a 503 Service Unavailable error.

Expand Down Expand Up @@ -491,128 +491,128 @@ In addition, CakePHP uses the following exceptions:
.. php:namespace:: Cake\View\Exception
.. php:exception:: MissingViewException
:no-contents-entry:
:nocontentsentry:

The chosen view class could not be found.

.. php:exception:: MissingTemplateException
:no-contents-entry:
:nocontentsentry:

The chosen template file could not be found.

.. php:exception:: MissingLayoutException
:no-contents-entry:
:nocontentsentry:

The chosen layout could not be found.

.. php:exception:: MissingHelperException
:no-contents-entry:
:nocontentsentry:

The chosen helper could not be found.

.. php:exception:: MissingElementException
:no-contents-entry:
:nocontentsentry:

The chosen element file could not be found.

.. php:exception:: MissingCellException
:no-contents-entry:
:nocontentsentry:

The chosen cell class could not be found.

.. php:exception:: MissingCellViewException
:no-contents-entry:
:nocontentsentry:

The chosen cell view file could not be found.

.. php:namespace:: Cake\Controller\Exception
.. php:exception:: MissingComponentException
:no-contents-entry:
:nocontentsentry:

A configured component could not be found.

.. php:exception:: MissingActionException
:no-contents-entry:
:nocontentsentry:

The requested controller action could not be found.

.. php:exception:: PrivateActionException
:no-contents-entry:
:nocontentsentry:

Accessing private/protected/_ prefixed actions.

.. php:namespace:: Cake\Console\Exception
.. php:exception:: ConsoleException
:no-contents-entry:
:nocontentsentry:

A console library class encounter an error.

.. php:namespace:: Cake\Database\Exception
.. php:exception:: MissingConnectionException
:no-contents-entry:
:nocontentsentry:

A model's connection is missing.

.. php:exception:: MissingDriverException
:no-contents-entry:
:nocontentsentry:

A database driver could not be found.

.. php:exception:: MissingExtensionException
:no-contents-entry:
:nocontentsentry:

A PHP extension is missing for the database driver.

.. php:namespace:: Cake\ORM\Exception
.. php:exception:: MissingTableException
:no-contents-entry:
:nocontentsentry:

A model's table could not be found.

.. php:exception:: MissingEntityException
:no-contents-entry:
:nocontentsentry:

A model's entity could not be found.

.. php:exception:: MissingBehaviorException
:no-contents-entry:
:nocontentsentry:

A model's behavior could not be found.

.. php:exception:: PersistenceFailedException
:no-contents-entry:
:nocontentsentry:

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

.. php:namespace:: Cake\Datasource\Exception
.. php:exception:: RecordNotFoundException
:no-contents-entry:
:nocontentsentry:

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

.. php:namespace:: Cake\Routing\Exception
.. php:exception:: MissingControllerException
:no-contents-entry:
:nocontentsentry:

The requested controller could not be found.

.. php:exception:: MissingRouteException
:no-contents-entry:
:nocontentsentry:

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

.. php:namespace:: Cake\Core\Exception
.. php:exception:: Exception
:no-contents-entry:
:nocontentsentry:

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

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

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

Expand Down

0 comments on commit bc6043e

Please sign in to comment.