{"id":22314383,"url":"https://github.com/undercloud/exceptor","last_synced_at":"2025-03-26T02:46:06.470Z","repository":{"id":57075256,"uuid":"178655339","full_name":"undercloud/exceptor","owner":"undercloud","description":"Exception's flow","archived":false,"fork":false,"pushed_at":"2021-10-16T19:10:43.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-31T00:18:21.519Z","etag":null,"topics":["debug","debugging","error","error-handling","exception-handling","exceptions","php"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/undercloud.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-03-31T07:17:30.000Z","updated_at":"2021-10-16T19:10:45.000Z","dependencies_parsed_at":"2022-08-24T14:55:41.755Z","dependency_job_id":null,"html_url":"https://github.com/undercloud/exceptor","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/undercloud%2Fexceptor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/undercloud%2Fexceptor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/undercloud%2Fexceptor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/undercloud%2Fexceptor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/undercloud","download_url":"https://codeload.github.com/undercloud/exceptor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245579582,"owners_count":20638676,"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","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":["debug","debugging","error","error-handling","exception-handling","exceptions","php"],"created_at":"2024-12-03T22:09:53.298Z","updated_at":"2025-03-26T02:46:06.453Z","avatar_url":"https://github.com/undercloud.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# exceptor\n\n[![Build Status](https://travis-ci.org/undercloud/exceptor.svg?branch=master)](https://travis-ci.org/undercloud/exceptor)\n\nException's flow\n\n## Install\n\n`composer require undercloud/exceptor`\n\n## Requirements\n\nPHP 5.4+\n\n## Description\n\nProvides a mechanism for catching errors and exceptions in the application flow. All built-in types of errors are transformed into exceptions, which greatly simplifies debugging. It also intercepts errors due to lack of memory and execution timeout.\n\n## Usage\n\n```php\n// catch all\nerror_reporting(E_ALL);\n\nuse Undercloud\\Exception\\FlowHandler;\n\n(new FlowHandler(function(){\n    try {\n        // your code\n    // PHP 5.x \n    } catch (Exception $e) {\n        return $e;\n    // PHP 7.x\n    } catch (Throwable $e) {\n        return $e;\n    }\n}))-\u003eflow(function($e){\n    // handle exception\n})\n```\n\n## Type of Exceptions\n\n* All standard PHP's exceptions\n* CompileErrorException\n* CompileWarningException\n* CoreErrorException\n* CoreWarningException\n* DeprecatedException\n* NoticeException\n* ParseException\n* RecoverableErrorException\n* StrictException\n* UserDeprecatedException\n* UserErrorException\n* UserNoticeException\n* UserWarningException\n* WarningException\n* ExecutionTimeoutException\n* OutOfMemoryException\n\n## LICENSE\n\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fundercloud%2Fexceptor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fundercloud%2Fexceptor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fundercloud%2Fexceptor/lists"}