Skip to content

Commit

Permalink
fix: add one more enum case
Browse files Browse the repository at this point in the history
  • Loading branch information
brokeyourbike committed Feb 21, 2022
1 parent 3414d6a commit 55f151c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@
[![Latest Stable Version](https://img.shields.io/github/v/release/brokeyourbike/uba-api-client-php)](https://github.com/brokeyourbike/uba-api-client-php/releases)
[![Total Downloads](https://poser.pugx.org/brokeyourbike/uba-api-client/downloads)](https://packagist.org/packages/brokeyourbike/uba-api-client)
[![License: MPL-2.0](https://img.shields.io/badge/license-MPL--2.0-purple.svg)](https://github.com/brokeyourbike/uba-api-client-php/blob/main/LICENSE)

[![tests](https://github.com/brokeyourbike/uba-api-client-php/actions/workflows/tests.yml/badge.svg)](https://github.com/brokeyourbike/uba-api-client-php/actions/workflows/tests.yml)
[![Maintainability](https://api.codeclimate.com/v1/badges/a64835e6f2c49e1da492/maintainability)](https://codeclimate.com/github/brokeyourbike/uba-api-client-php/maintainability)
[![Test Coverage](https://api.codeclimate.com/v1/badges/a64835e6f2c49e1da492/test_coverage)](https://codeclimate.com/github/brokeyourbike/uba-api-client-php/test_coverage)
[![tests](https://github.com/brokeyourbike/uba-api-client-php/actions/workflows/tests.yml/badge.svg)](https://github.com/brokeyourbike/uba-api-client-php/actions/workflows/tests.yml)

First City Monument Bank API Client for PHP
United Bank for Africa API Client for PHP

## Installation

Expand All @@ -25,5 +24,9 @@ $apiClient = new Client($config, $httpClient, $psrCache);
$apiClient->fetchAuthTokenRaw();
```

## Authors

- [Ivan Stasiuk](https://stasi.uk)

## License
[Mozilla Public License v2.0](https://github.com/brokeyourbike/uba-api-client-php/blob/main/LICENSE)
5 changes: 5 additions & 0 deletions src/Enums/ErrorCodeEnum.php
Original file line number Diff line number Diff line change
Expand Up @@ -205,4 +205,9 @@ enum ErrorCodeEnum: string
* Invalid credentials.
*/
case INVALID_CREDENTIALS = '999';

/**
* System malfunction.
*/
case SYSTEM_MALFUNCTION = '909';
}

0 comments on commit 55f151c

Please sign in to comment.