Skip to content

Commit 2615058

Browse files
author
Craig McKie
committed
Added new exception for auth_token_limit
1 parent 8c8efc7 commit 2615058

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

src/ErrorHandler.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ class ErrorHandler
1111
protected static $mappings = [
1212

1313
// Status Code: 400
14+
'auth_token_limit' => \TechKat\BackblazeB2\Exceptions\BackblazeCodes\AuthTokenLimitException::class,
1415
'bad_bucket_id' => \TechKat\BackblazeB2\Exceptions\BackblazeCodes\BadBucketIdException::class,
1516
'bad_request' => \TechKat\BackblazeB2\Exceptions\BackblazeCodes\BadRequestException::class,
1617
'cannot_delete_non_empty_bucket' => \TechKat\BackblazeB2\Exceptions\BackblazeCodes\BucketNotEmptyException::class,
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?php
2+
3+
namespace TechKat\BackblazeB2\Exceptions\BackblazeCodes;
4+
5+
use Exception;
6+
7+
/*
8+
|--------------------------------------------------------------------------
9+
| AccessDeniedException
10+
|--------------------------------------------------------------------------
11+
*/
12+
class AuthTokenLimitException extends Exception {}

0 commit comments

Comments
 (0)