{"id":23052203,"url":"https://github.com/abappm/abap-error","last_synced_at":"2025-04-24T05:45:14.450Z","repository":{"id":266844067,"uuid":"823731105","full_name":"abapPM/ABAP-Error","owner":"abapPM","description":"General Purpose Exception Class","archived":false,"fork":false,"pushed_at":"2025-01-30T21:04:21.000Z","size":59,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-24T05:45:08.029Z","etag":null,"topics":["abap","apm","error","exception","sap"],"latest_commit_sha":null,"homepage":"https://abappm.com","language":"ABAP","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/abapPM.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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},"funding":{"github":"mbtools"}},"created_at":"2024-07-03T15:39:44.000Z","updated_at":"2025-01-30T21:04:25.000Z","dependencies_parsed_at":"2024-12-06T14:03:46.641Z","dependency_job_id":"2d1e8650-f819-4060-9bfa-a2fb4c43a18d","html_url":"https://github.com/abapPM/ABAP-Error","commit_stats":null,"previous_names":["abappm/abap-error"],"tags_count":0,"template":false,"template_full_name":"abapPM/Template-for-ABAP","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abapPM%2FABAP-Error","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abapPM%2FABAP-Error/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abapPM%2FABAP-Error/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abapPM%2FABAP-Error/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abapPM","download_url":"https://codeload.github.com/abapPM/ABAP-Error/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250573300,"owners_count":21452342,"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":["abap","apm","error","exception","sap"],"created_at":"2024-12-16T00:12:28.046Z","updated_at":"2025-04-24T05:45:14.429Z","avatar_url":"https://github.com/abapPM.png","language":"ABAP","funding_links":["https://github.com/sponsors/mbtools"],"categories":[],"sub_categories":[],"readme":"![Version](https://img.shields.io/endpoint?url=https://shield.abappm.com/github/abapPM/ABAP-Error/src/zcx_error.clas.abap/c_version\u0026label=Version\u0026color=blue)\n\n[![License](https://img.shields.io/github/license/abapPM/ABAP-Error?label=License\u0026color=success)](https://github.com/abapPM/ABAP-Error/blob/main/LICENSE)\n[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-2.1-4baaaa.svg?color=success)](https://github.com/abapPM/.github/blob/main/CODE_OF_CONDUCT.md)\n[![REUSE Status](https://api.reuse.software/badge/github.com/abapPM/ABAP-Error)](https://api.reuse.software/info/github.com/abapPM/ABAP-Error)\n\n# Error\n\nGeneral purpose exception.\n\nNO WARRANTIES, [MIT License](https://github.com/abapPM/ABAP-Error/blob/main/LICENSE)\n\n## Usage\n\nRaise exception with free form text:\n\n```abap\nzcx_error=\u003eraise( 'Not found' ).\n```\n\nRaise exception with reference to another exception:\n\n```abap\nTRY.\n    \"... some code that raises an exception\n  CATCH cx_root INTO DATA(error).\n    zcx_error=\u003eraise_with_text( error ).\n    \" or\n    zcx_error=\u003eraise(\n      text     = 'Overwrite error text'\n      previous = error ).\nENDTRY.\n```\n\nRaise exception with T100 system message:\n\n```abap\nMESSAGE e001(00) WITH 'error value' 'more text' INTO zcx_error=\u003enull. \" or any other message\nzcx_error=\u003eraise_t100( ).\n```\n\n## Prerequisites\n\nSAP Basis 7.50 or higher\n\n## Installation\n\nInstall `error` as a global module in your system using [apm](https://abappm.com).\n\nor\n\nSpecify the `error` module as a dependency in your project and import it to your namespace using [apm](https://abappm.com).\n\n## Contributions\n\nAll contributions are welcome! Read our [Contribution Guidelines](https://github.com/abapPM/ABAP-Error/blob/main/CONTRIBUTING.md), fork this repo, and create a pull request.\n\nYou can install the developer version of ABAP Error using [abapGit](https://github.com/abapGit/abapGit) either by creating a new online repository for `https://github.com/abapPM/ABAP-Error`.\n\nRecommended SAP package: `$ERROR`\n\n## About\n\nMade with ❤ in Canada\n\nCopyright 2025 apm.to Inc. \u003chttps://apm.to\u003e\n\nFollow [@marcf.be](https://bsky.app/profile/marcf.be) on Blueksy and [@marcfbe](https://linkedin.com/in/marcfbe) or LinkedIn\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabappm%2Fabap-error","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabappm%2Fabap-error","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabappm%2Fabap-error/lists"}