{"id":20846628,"url":"https://github.com/yohn/e","last_synced_at":"2026-02-13T08:19:58.985Z","repository":{"id":253591724,"uuid":"843967305","full_name":"Yohn/E","owner":"Yohn","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-22T11:37:43.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-19T01:22:53.765Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Yohn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-08-18T01:00:33.000Z","updated_at":"2024-11-22T11:35:05.000Z","dependencies_parsed_at":"2025-05-09T03:09:52.812Z","dependency_job_id":"133cfe06-1fcc-4fb9-907a-ceec06f01f63","html_url":"https://github.com/Yohn/E","commit_stats":null,"previous_names":["yohn/e"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/Yohn/E","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yohn%2FE","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yohn%2FE/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yohn%2FE/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yohn%2FE/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Yohn","download_url":"https://codeload.github.com/Yohn/E/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yohn%2FE/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278266896,"owners_count":25958733,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-18T02:17:13.537Z","updated_at":"2025-10-04T05:05:48.321Z","avatar_url":"https://github.com/Yohn.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Error Handling\nAn internal error handler and error logger.\n\n## Yohns\\Core\\E\n\n\n```php\ninclude 'vendor/autoload.php';\n\nuse Yohns\\Core\\E;\n\nE::initiate([\n\t// the directory to store the error logs in.\n\t'dir' =\u003e __DIR__.'/logs',\n\t// default to display the errors\n\t'display' =\u003e true,\n\t// what variables to store\n\t'store' =\u003e [\n\t\t// if any $_POST variable is set\n\t\t'_POST',\n\t\t// if any $_FILES variable is set\n\t\t'_FILES',\n\t\t// if any $_GET variable is set\n\t\t'_GET',\n\t\t// if any $_COOKIE variable is set, default this is not saved\n\t\t//'_COOKIE',\n\t\t// if any $_SESSION variable is set, default this is not saved\n\t\t//'_SESSION'\n\t],\n]);\n\nset_error_handler('Yohns\\Core\\E::errHandler');\nset_exception_handler('Yohns\\Core\\E::excHandler');\n```\n\n## Yohns\\Core\\Err\n```php\ninclude 'vendor/autoload.php';\n\nuse Yohns\\Core\\Err;\n\ntry {\n\tthrow new Err(\"This is a custom error message.\");\n} catch (Err $e) {\n\techo $e-\u003egetDetailedMessage();\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyohn%2Fe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyohn%2Fe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyohn%2Fe/lists"}