From df83c7ea70a6d3b8e357c9c57ad24adfa866d5b5 Mon Sep 17 00:00:00 2001 From: ytetsuro Date: Fri, 5 Oct 2018 01:52:31 +0900 Subject: [PATCH] feat: add can not set cache exception. Signed-off-by: ytetsuro --- system/Exceptions/DownloadException.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/system/Exceptions/DownloadException.php b/system/Exceptions/DownloadException.php index fcb7f89d71e0..ab00fea41270 100644 --- a/system/Exceptions/DownloadException.php +++ b/system/Exceptions/DownloadException.php @@ -23,4 +23,9 @@ public static function forNotFoundDownloadSource() return new static(lang('HTTP.notFoundDownloadSource')); } + public static function forCannotSetCache() + { + return new static(lang('HTTP.cannotSetCache')); + } + }