class TokenMismatchException extends Exception implements KnownError

Methods

string
getType()

<p>Determine the exception's type.</p>

Details

string getType()

<p>Determine the exception's type.</p>

<p>This should be a short, precise identifier for the error that can be exposed to users as an error code. Furthermore, it can be used to find appropriate error messages in translations or views to render pretty error pages.</p> <p>Different exception classes are allowed to return the same status code, e.g. when they have similar semantic meaning to the end user, but are thrown by different subsystems.</p>

Return Value

string