We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b83fad commit 53fccd5Copy full SHA for 53fccd5
1 file changed
system/Exceptions/DownloadException.php
@@ -28,4 +28,8 @@ public static function forCannotSetCache()
28
return new static(lang('HTTP.cannotSetCache'));
29
}
30
31
+ public static function forCannotSetStatusCode(int $code, string $reason)
32
+ {
33
+ return new static(lang('HTTP.cannotSetStatusCode', [$code, $reason]));
34
+ }
35
0 commit comments