|
|
@ -444,7 +444,7 @@ The ``error`` string will be a human-readable error message, usually a sentence
|
|
|
|
explaining what went wrong. The ``errcode`` string will be a unique string
|
|
|
|
explaining what went wrong. The ``errcode`` string will be a unique string
|
|
|
|
which can be used to handle an error message e.g. ``M_FORBIDDEN``. These error
|
|
|
|
which can be used to handle an error message e.g. ``M_FORBIDDEN``. These error
|
|
|
|
codes should have their namespace first in ALL CAPS, followed by a single _ to
|
|
|
|
codes should have their namespace first in ALL CAPS, followed by a single _ to
|
|
|
|
ease separating the namespace from the error code.. For example, if there was a
|
|
|
|
ease separating the namespace from the error code. For example, if there was a
|
|
|
|
custom namespace ``com.mydomain.here``, and a
|
|
|
|
custom namespace ``com.mydomain.here``, and a
|
|
|
|
``FORBIDDEN`` code, the error code should look like
|
|
|
|
``FORBIDDEN`` code, the error code should look like
|
|
|
|
``COM.MYDOMAIN.HERE_FORBIDDEN``. There may be additional keys depending on the
|
|
|
|
``COM.MYDOMAIN.HERE_FORBIDDEN``. There may be additional keys depending on the
|
|
|
|