Exceptions

Illuminate\Support\Facades\Exceptions

class src/Illuminate/Support/Facades/Exceptions.php

assertNothingReported

v11.4.0 から

static @method

static assertNothingReported(): void
  1. v11.4.0 追加
    変更後
    @method static assertNothingReported(): void

assertNotReported

v11.4.0 から

static @method

static assertNotReported(\Closure|string $exception): void
  1. v11.4.0 追加
    変更後
    @method static assertNotReported(\Closure|string $exception): void
  2. v13.4.0 シグネチャ変更
    変更前
    @method static assertNotReported(\Closure|string $exception): void
    変更後
    @method static assertNotReported(\Closure|string<\Throwable> $exception): void
  3. v13.6.0 シグネチャ変更
    変更前
    @method static assertNotReported(\Closure|string<\Throwable> $exception): void
    変更後
    @method static assertNotReported(\Closure|string $exception): void

assertReported

v11.4.0 から

static @method

static assertReported(\Closure|string $exception): void
  1. v11.4.0 追加
    変更後
    @method static assertReported(\Closure|string $exception): void
  2. v13.4.0 シグネチャ変更
    変更前
    @method static assertReported(\Closure|string $exception): void
    変更後
    @method static assertReported(\Closure|string<\Throwable> $exception): void
  3. v13.6.0 シグネチャ変更
    変更前
    @method static assertReported(\Closure|string<\Throwable> $exception): void
    変更後
    @method static assertReported(\Closure|string $exception): void

assertReportedCount

v11.4.0 から

static @method

static assertReportedCount(int $count): void
  1. v11.4.0 追加
    変更後
    @method static assertReportedCount(int $count): void

buildContextForException

v13.6.0 から

static @method

static buildContextForException(\Throwable $e): array
  1. v13.6.0 追加
    変更後
    @method static buildContextForException(\Throwable $e): array

buildContextUsing

v11.4.0 から

static @method

static buildContextUsing(\Closure $contextCallback): \Illuminate\Foundation\Exceptions\Handler
  1. v11.4.0 追加
    変更後
    @method static buildContextUsing(\Closure $contextCallback): \Illuminate\Foundation\Exceptions\Handler

contextForException

v13.30.0 から

static @method

static contextForException(\Throwable $e): array
  1. v13.30.0 追加
    変更後
    @method static contextForException(\Throwable $e): array

dontFlash

v11.4.0 から

static @method

static dontFlash(array|string $attributes): \Illuminate\Foundation\Exceptions\Handler
  1. v11.4.0 追加
    変更後
    @method static dontFlash(array|string $attributes): \Illuminate\Foundation\Exceptions\Handler

dontReport

v11.4.0 から

static @method

static dontReport(array|string $exceptions): \Illuminate\Foundation\Exceptions\Handler
  1. v11.4.0 追加
    変更後
    @method static dontReport(array|string $exceptions): \Illuminate\Foundation\Exceptions\Handler

dontReportDuplicates

v11.4.0 から

static @method

static dontReportDuplicates(): \Illuminate\Foundation\Exceptions\Handler
  1. v11.4.0 追加
    変更後
    @method static dontReportDuplicates(): \Illuminate\Foundation\Exceptions\Handler

dontReportWhen

v12.21.0 から

static @method

static dontReportWhen(callable $dontReportWhen): \Illuminate\Foundation\Exceptions\Handler
  1. v12.21.0 追加
    変更後
    @method static dontReportWhen(callable $dontReportWhen): \Illuminate\Foundation\Exceptions\Handler

dontRetry

v13.17.0 から

static @method

static dontRetry(array|string $exceptions): \Illuminate\Foundation\Exceptions\Handler
  1. v13.17.0 追加
    変更後
    @method static dontRetry(array|string $exceptions): \Illuminate\Foundation\Exceptions\Handler

dontRetryWhen

v13.17.0 から

static @method

static dontRetryWhen(callable $dontRetryWhen): \Illuminate\Foundation\Exceptions\Handler
  1. v13.17.0 追加
    変更後
    @method static dontRetryWhen(callable $dontRetryWhen): \Illuminate\Foundation\Exceptions\Handler

fake

v11.4.0 から

static

static fake(array|string $exceptions = [])
@param array<int, class-string<\Throwable>>|class-string<\Throwable> $exceptions
@return \Illuminate\Support\Testing\Fakes\ExceptionHandlerFake
  1. v11.4.0 追加
    変更後
    static fake(array|string $exceptions = []) [@param array<int, class-string<\Throwable>>|class-string<\Throwable> $exceptions, @return \Illuminate\Support\Testing\Fakes\ExceptionHandlerFake]

handler

v11.4.0 から

static @method

static handler(): \Illuminate\Contracts\Debug\ExceptionHandler
  1. v11.4.0 追加
    変更後
    @method static handler(): \Illuminate\Contracts\Debug\ExceptionHandler

ignore

v11.4.0 から

static @method

static ignore(array|string $exceptions): \Illuminate\Foundation\Exceptions\Handler
  1. v11.4.0 追加
    変更後
    @method static ignore(array|string $exceptions): \Illuminate\Foundation\Exceptions\Handler

isReporting

v13.6.0 から

static @method

static isReporting(\Throwable $e): bool
  1. v13.6.0 追加
    変更後
    @method static isReporting(\Throwable $e): bool

level

v11.4.0 から

static @method

static level(string $type, string $level): \Illuminate\Foundation\Exceptions\Handler
  1. v11.4.0 追加
    変更後
    @method static level(string $type, void $level): \Illuminate\Foundation\Exceptions\Handler
  2. v11.23.3 シグネチャ変更
    変更前
    @method static level(string $type, void $level): \Illuminate\Foundation\Exceptions\Handler
    変更後
    @method static level(string $type, string $level): \Illuminate\Foundation\Exceptions\Handler
  3. v13.4.0 シグネチャ変更
    変更前
    @method static level(string $type, string $level): \Illuminate\Foundation\Exceptions\Handler
    変更後
    @method static level(string<\Throwable> $type, string $level): \Illuminate\Foundation\Exceptions\Handler
  4. v13.6.0 シグネチャ変更
    変更前
    @method static level(string<\Throwable> $type, string $level): \Illuminate\Foundation\Exceptions\Handler
    変更後
    @method static level(string $type, string $level): \Illuminate\Foundation\Exceptions\Handler

map

v11.4.0 から

static @method

static map(\Closure|string $from, \Closure|string|null $to = null): \Illuminate\Foundation\Exceptions\Handler
  1. v11.4.0 追加
    変更後
    @method static map(\Closure|string $from, \Closure|string|null $to = null): \Illuminate\Foundation\Exceptions\Handler

register

v11.4.0 から

static @method

static register(): void
  1. v11.4.0 追加
    変更後
    @method static register(): void

render

v11.4.0 から

static @method

static render(\Illuminate\Http\Request $request, \Throwable $e): \Symfony\Component\HttpFoundation\Response
  1. v11.4.0 追加
    変更後
    @method static render(\Illuminate\Http\Request $request, \Throwable $e): \Symfony\Component\HttpFoundation\Response

renderable

v11.4.0 から

static @method

static renderable(callable $renderUsing): \Illuminate\Foundation\Exceptions\Handler
  1. v11.4.0 追加
    変更後
    @method static renderable(callable $renderUsing): \Illuminate\Foundation\Exceptions\Handler

renderForConsole

v11.4.0 から

static @method

static renderForConsole(\Symfony\Component\Console\Output\OutputInterface $output, \Throwable $e): void
  1. v11.4.0 追加
    変更後
    @method static renderForConsole(\Symfony\Component\Console\Output\OutputInterface $output, \Throwable $e): void

report

v11.4.0 から

static @method

static report(\Throwable $e): void
  1. v11.4.0 追加
    変更後
    @method static report(\Throwable $e): void

reportable

v11.4.0 から

static @method

static reportable(callable $reportUsing): \Illuminate\Foundation\Exceptions\ReportableHandler
  1. v11.4.0 追加
    変更後
    @method static reportable(callable $reportUsing): \Illuminate\Foundation\Exceptions\ReportableHandler

reported

v12.18.0 から

static @method

static reported(): array
  1. v12.18.0 追加
    変更後
    @method static reported(): array
  2. v13.4.0 シグネチャ変更
    変更前
    @method static reported(): array
    変更後
    @method static reported(): array<\Throwable>
  3. v13.6.0 シグネチャ変更
    変更前
    @method static reported(): array<\Throwable>
    変更後
    @method static reported(): array

respondUsing

v11.4.0 から

static @method

static respondUsing(callable $callback): \Illuminate\Foundation\Exceptions\Handler
  1. v11.4.0 追加
    変更後
    @method static respondUsing(callable $callback): \Illuminate\Foundation\Exceptions\Handler

setHandler

v11.4.0 から

static @method

static setHandler(\Illuminate\Contracts\Debug\ExceptionHandler $handler): \Illuminate\Support\Testing\Fakes\ExceptionHandlerFake
  1. v11.4.0 追加
    変更後
    @method static setHandler(\Illuminate\Contracts\Debug\ExceptionHandler $handler): \Illuminate\Support\Testing\Fakes\ExceptionHandlerFake

shouldRenderJsonWhen

v11.4.0 から

static @method

static shouldRenderJsonWhen(callable $callback): \Illuminate\Foundation\Exceptions\Handler
  1. v11.4.0 追加
    変更後
    @method static shouldRenderJsonWhen(callable $callback): \Illuminate\Foundation\Exceptions\Handler

shouldReport

v11.4.0 から

static @method

static shouldReport(\Throwable $e): bool
  1. v11.4.0 追加
    変更後
    @method static shouldReport(\Throwable $e): bool

shouldStopRetries

v13.17.0 から

static @method

static shouldStopRetries(\Throwable $e): bool
  1. v13.17.0 追加
    変更後
    @method static shouldStopRetries(\Throwable $e): bool

stopIgnoring

v11.4.0 から

static @method

static stopIgnoring(array|string $exceptions): \Illuminate\Foundation\Exceptions\Handler
  1. v11.4.0 追加
    変更後
    @method static stopIgnoring(array|string $exceptions): \Illuminate\Foundation\Exceptions\Handler

throttleUsing

v11.4.0 から

static @method

static throttleUsing(callable $throttleUsing): \Illuminate\Foundation\Exceptions\Handler
  1. v11.4.0 追加
    変更後
    @method static throttleUsing(callable $throttleUsing): \Illuminate\Foundation\Exceptions\Handler

throwFirstReported

v11.4.0 から

static @method

static throwFirstReported(): \Illuminate\Support\Testing\Fakes\ExceptionHandlerFake
  1. v11.4.0 追加
    変更後
    @method static throwFirstReported(): \Illuminate\Support\Testing\Fakes\ExceptionHandlerFake

throwOnReport

v11.23.3 から

static @method

static throwOnReport(): \Illuminate\Support\Testing\Fakes\ExceptionHandlerFake
  1. v11.23.3 追加
    変更後
    @method static throwOnReport(): \Illuminate\Support\Testing\Fakes\ExceptionHandlerFake