Libraries tagged by code execution
phpattempt/phpattempt
50 Downloads
Helper function to enforce error-first approach in your code
corpus/http
3404 Downloads
HTTP Status Codes and Exceptions
cspray/assert-throws
184 Downloads
Assertions for PHPUnit when testing code that throws complex exceptions.
controlabs/http-exceptions
182 Downloads
PHP HTTP Status Code Exceptions
dragon-code/notify-exceptions
109 Downloads
Notify the site administrator of any errors through various channels of communication.
thingston/http-exception
313 Downloads
A set of custom PHP Exception based on HTTP Status Code.
creatissimo/mattermost-bundle
3633 Downloads
Symfony Bundle for communicating with the Mattermost chat, sending messages on exceptions or when triggered by code
slashequip/attempt
3 Downloads
Attempt is a simple, fluent class for attempting to run code multiple times whilst handling exceptions.
vitexsoftware/rbczpremiumapi
193 Downloads
##### API Overview - Accounts list and balance - Transaction overview (also for saving accounts) - Payments import - Statement list and download - FX rates ##### Authentication Before making a call to Premium API, you need to register your app at our _Developer portal_. This is where you get the **ClientID** that your application must send in the request as `X-IBM-Client-Id`. This is the key that grants your app access to the API. However, this may not be enough. Your application needs to use mTLS to call most operations here. Thus, you not only need _https_ but also a client certificate issued by us. The exception is two operations for FX rates that are accessible also without a client certificate. Each bank client/user can issue several certificates. Each certificate can permit different sets of operations (http methods) on different bank accounts. All this must be configured in Internet Banking first by each bank client/user (bank clients need to look under _Settings_ and do not forget to download the certificate at the last step). The certificate is downloaded in **PKCS#12** format as **\*.p12** file and protected by a password chosen by the bank client/user. Yes, your app needs the password as well to get use of the **\*p12** file for establishing mTLS connection to the bank. Client certificates issued in Internet Banking for bank clients/users have limited validity (e.g. **5 years**). However, **each year** certificates are automatically blocked and bank client/user must unblock them in Internet Banking. It is possible to do it in advance and prolong the time before the certificate is blocked. Your app should be prepared for these scenarios and it should communicate such cases to your user in advance to provide seamless service and high user-experience of your app. ##### Rate Limiting The number of requests in each API operation is limited to 10 per client per sliding second and 5000 per client per sliding day. The exception is the 'Download Statement' operation with the limits lowered to 5 per client per sliding second and 1500 per client per sliding day. This is because it transports potentially sizeable binary files. The consumer must be able to handle HTTP status 429 in case of exceeding these limits. Response headers `X-RateLimit-Limit-Second` and `X-RateLimit-Limit-Day` show the actual limits configured for the specific operation. Response headers `X-RateLimit-Remaining-Second` and `X-RateLimit-Remaining-Day` are returned to help prevent the limits from being exceeded. ##### Notes Be aware, that in certain error situations, API can return specific error structures along with 5xx status code, which is not explicitely defined below. ##### Quick Start Client Feel free to download a simple Java client that gives you quick access to our API.
try/predict-exception
77 Downloads
Simplified predictions if a piece of codes throws an Exception
puzzlout/exceptions
494 Downloads
The Puzzlout package to store exceptions and their codes
madebyextreme/exceptions-to-stream
348 Downloads
A small plugin to capture thrown exceptions (excluding status codes in the 400 range) to send to standard error stream
codexsoft/errors-to-exceptions
110 Downloads
Some boilerplate code to catch errors as exceptions
majalin/http-exception
9 Downloads
An exception that contains http status code
igsem/api-exceptions
76 Downloads
Handle exceptions in Phalcon or other PHP APIs in a consistent way. Return consistent responses with proper response codes and have your errors and exceptions be logged into file on production.