Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
levizoesch committed Oct 30, 2023
1 parent 3fb47f4 commit aaf8bcc
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -366,21 +366,21 @@ document.addEventListener("DOMContentLoaded", function() {
# Exceptions
Exceptions will be thrown for various reasons. The exceptions are as follows:

#### MissingTellerConfigurationException
### MissingTellerConfigurationException
```
Please run 'php artisan vendor:publish --tag=teller-sdk-config' to generate.
```

#### EnvironmentNullException
### EnvironmentNullException
This is thrown if the .env is not correctly defined. The configuration file looks for the `TELLER_ENVIRONMENT`. If it cannot locate it, this exception will be thrown.
#### InvalidEnvironmentException
### InvalidEnvironmentException
The only accepted values are `sandbox`, `development`, or `production`. Any other values detected this exception will be thrown.
#### MissingAccessTokenException
### MissingAccessTokenException
This is thrown if the access token for the users banking institution is null, or invalid.
#### MissingTellerCertException & MissingTellerKeyException
The SDK cannot locate the certificate `.pem` file located. Please see your `teller.php` config file to define its path.
Each exception will show you which one you are missing.
#### UnexpectedErrorResponseException
### MissingTellerCertException & MissingTellerKeyException
Each exception will show you which one you are missing, the certificate or the private key`.pem` file. Please see your `teller.php` config file to define their path.

### UnexpectedErrorResponseException
This is thrown if the error being produced was unexpected. Please let me know if you experience this exception as error reporting may need to be expanded further to catch these discrepancies.

# Credits
Expand Down

0 comments on commit aaf8bcc

Please sign in to comment.