Exception::getCode Gets the Exception code &reftitle.description; final public intException::getCode Returns the Exception code. &reftitle.parameters; &no.function.parameters; &reftitle.returnvalues; Returns the exception code as int in Exception but possibly as other type in Exception descendants (for example as string in PDOException). &reftitle.examples; <function>Exception::getCode</function> example getCode(); } ?> ]]> &example.outputs.similar; &reftitle.seealso; Throwable::getCode