src/Web/ErrorHandler.php
public function getExceptionName($exception)
    {
        if (
            $exception instanceof \Reaction\Exceptions\Exception
            || $exception instanceof \Reaction\Exceptions\InvalidCallException
            || $exception instanceof \Reaction\Exceptions\InvalidParamException
            || $exception instanceof \Reaction\Exceptions\UnknownMethodException
        ) {
            return $exception->getName();
        }

        return null;
    }
public function getExceptionName($exception)
    {
        if (
            $exception instanceof \Reaction\Exceptions\Exception
            || $exception instanceof \Reaction\Exceptions\InvalidCallException
            || $exception instanceof \Reaction\Exceptions\InvalidParamException
            || $exception instanceof \Reaction\Exceptions\UnknownMethodException
        ) {
            return $exception->getName();
        }

        return null;
    }
Returns human-readable exception name.
@param \Exception $exception
@return string|null human-readable exception name or null if it cannot be determined