{"id":21974692,"url":"https://github.com/parser3/als.exception","last_synced_at":"2026-04-29T08:08:31.017Z","repository":{"id":56946351,"uuid":"71262731","full_name":"parser3/als.exception","owner":"parser3","description":"Exceptions Renderer Component.","archived":false,"fork":false,"pushed_at":"2017-09-11T15:46:34.000Z","size":2781,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-28T03:19:58.346Z","etag":null,"topics":["als","package","parser3"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/parser3.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-10-18T15:28:03.000Z","updated_at":"2020-02-25T15:03:45.000Z","dependencies_parsed_at":"2022-08-21T07:20:31.360Z","dependency_job_id":null,"html_url":"https://github.com/parser3/als.exception","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parser3%2Fals.exception","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parser3%2Fals.exception/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parser3%2Fals.exception/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parser3%2Fals.exception/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/parser3","download_url":"https://codeload.github.com/parser3/als.exception/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245036127,"owners_count":20550662,"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":["als","package","parser3"],"created_at":"2024-11-29T15:47:14.368Z","updated_at":"2026-04-29T08:08:30.967Z","avatar_url":"https://github.com/parser3.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Als/Exception\n\nШаблонизатор «исключений» Парсера с показом участка кода и подстветкой строки вызвавшей исключение.\n\n\n## Installation\n\n```bash\n$ composer require als/exception\n```\n\n\n## Basic Usage\n\nДля подключения необходимо в корневом auto.p перекрыть метод `@unhandled_exception[]`:\n\n```ruby\n###############################################################################\n@unhandled_exception[exception;stack]\n$result[^Als/Exception:render[\n\t$.exception[$exception]\n\t$.stack[$stack]\n\t$.debug(true)\n\t$.lines(20)\n]]\n# End: @unhandled_exception[]\n```\n\n### Params\n\n* $.exception `\u003chash\u003e` Информация об ошибке\n* $.stack `\u003ctable\u003e` Стек вызовов\n* $.debug `\u003cbool|method\u003e` Ссылка на метод @is_developer[], либо результат его выполнения. (default: false)\n* $.lines `\u003cint\u003e` Кол-во строк кода, которые будут показаны для каждой строки в стеке вызовов. (default: 20)\n\n\n\n## \"Release\" режим\n| Было | Стало |\n| :---------: | :---------------: |\n| [![Стандартный вывод: Release](doc/img/default.release.png)](doc/img/default.release.png) | [![Шаблонизированный вывод: Release](doc/img/templated.release.png)](doc/img/templated.release.png) |\n\n---\n\n## \"Debug\" режим\n| Было | Стало |\n| :---------: | :---------------: |\n| [![Стандартный вывод: Debug](doc/img/default.debug.png)](doc/img/default.debug.png) | [![Шаблонизированный вывод: Debug](doc/img/templated.debug.png)](doc/img/templated.debug.png) |\n\n---\n\n\n## References\n\n- Bugs and feature request are tracked on [GitHub](https://github.com/parser3/als.exception/issues)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparser3%2Fals.exception","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparser3%2Fals.exception","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparser3%2Fals.exception/lists"}