> */ public array $ignoreCodes = [404]; /** * Error Views Path */ public string $errorViewPath = APPPATH . 'Views/errors'; /** * Hide Error Messages? */ public bool $hideErrors = false; /** * Custom Exception Handler for AJAX requests * * @var class-string|null */ public ?string $handler = null; /** * Sensitive Data in Trace * * @var list */ public array $sensitiveDataInTraceStep = [ 'password', 'pass', 'salt' ]; /** * Sensitive Data in Trace (for deprecated property) * * @var list */ public array $sensitiveDataInTrace = [ 'password', 'pass', 'salt' ]; /** * Whether to log deprecation warnings. */ public bool $logDeprecations = true; /** * The log level for deprecation warnings. */ public string $deprecationLogLevel = LogLevel::WARNING; public function handler(int $statusCode, Throwable $exception): ExceptionHandlerInterface { return new ExceptionHandler($this); } }