Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/WebFiori/err
Browse files Browse the repository at this point in the history
  • Loading branch information
usernane committed Jan 1, 2024
2 parents af51f22 + 0569f2b commit cb7cc83
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,16 @@ class DefaultExceptionsHandler extends AbstractExceptionHandler {
}
echo '</pre>';
}

public function isActive(): bool {
//Activate or deactivate the handler based on conditions.
return true;
}

public function isShutdownHandler(): bool {
//Set the handler as shutdown handler (errors after processing)
return false;
}
}

```
Expand Down

0 comments on commit cb7cc83

Please sign in to comment.