Eloquent\Phony\Stub\Stub::throws PHP Метод

throws() публичный Метод

Add an answer that throws an exception.
public throws ( Exceptio\Exception | Erro\Error | string | null $exception = null )
$exception Exceptio\Exception | Erro\Error | string | null The exception, or message, or null to throw a generic exception.
    public function throws($exception = null);