C4D-Exceptions
- Quiet · last change 5-29-2024
- ★ 3 on GitHub
README
C4D-Exceptions - Control exceptions in your systems quickly, easily and centrally
With C4D-Exceptions you can control exceptions in your systems quickly, easily and centrally
📞 Contacts
⚙️ Installation
- Installation using the Boss:
boss install github.com/Code4Delphi/C4D-Exceptions- Manual installation: Open your Delphi and add the following folder to your project, under Project > Options > Building > Delphi Compiler > Search path
C4D-Exceptions\Src🚀 Quickstart
- Add uses to your system:
uses
C4D.Exceptions;When generating exceptions, enter one of the following options::
- Information exception:
raise ExceptionMsg.Create('My message', 'More details (optional)');- Warning exception:
raise ExceptionWarning.Create('My message', 'More details (optional)');- Error exception:
raise ExceptionError.Create('My message', 'More details (optional)');- Permission exception:
raise ExceptionPermission.Create('My message', 'More details (optional)');- Obligatory exception:
raise ExceptionObligatory.Create('My message (optional)', 'More details (optional)');- Empty exception:
raise ExceptionEmpty.Create('My message', 'More details (optional)');Exception default
- If the standard exception is reported (raise Exception.Create('Error Message');) the exception that will be displayed will be the Error exception (ExceptionError)
⌨️ Demo
- Next to the project sources, you will find a test project, in the folder:
C4D-Exceptions\Samples\Demo01
💬 Contributions / Ideas / Bug Fixes
To submit a pull request, follow these steps:
- Fork the project
- Create a new branch (
git checkout -b minha-nova-funcionalidade) - Make your changes
- Make the commit (
git commit -am 'Functionality or adjustment message') - Push the branch (
git push origin Message about functionality or adjustment) - Open a pull request


