Skip to content

ᾍδης — Olympus Hades is a bundle used to handle all Olympus errors from your WordPress website and its plugins.

License

Notifications You must be signed in to change notification settings

GetOlympus/Hades-Error-Handler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Olympus Hades Error Handle

Olympus Hades Error Handler is a bundle used to handle all Olympus errors from your WordPress website and its plugins.

composer require getolympus/olympus-hades-error-handler

Olympus Component CodeFactor Grade Packagist Version MIT


Features

With Composer

Initialization

To initialize Hades, you'll need to extend the main class before all:

namespace MyCustomPackage;

use GetOlympus\Hades\Hades;

class ErrorDebugger extends Hades
{
}

Once done, simple initiate your custom class and register handlers:

/**
 * Use the ErrorDebugger to display errors
 */
$err = ErrorDebugger::register([
    'debug' => WP_DEBUG,
    'level' => WP_DEBUG ? 500 : 100,
    'logs'  => 'my/custom/logs/folder/',
    'title' => 'My custom handler title',
]);

Release History

See CHANGELOG.md for all details.

Contributing

  1. Fork it (https://github.com/GetOlympus/Hades-Error-Handler/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

Built with ♥ by Achraf Chouk ~ (c) since a long time.

About

ᾍδης — Olympus Hades is a bundle used to handle all Olympus errors from your WordPress website and its plugins.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages