-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add 410 and 429 error handling (#366)
* add 410 and 429 error handling * Try to fix circle ci * Bump version --------- Co-authored-by: Cleve Stuart <[email protected]> Co-authored-by: Cleve Stuart <[email protected]>
- Loading branch information
1 parent
85c3a5b
commit 375b2af
Showing
9 changed files
with
59 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
faunadb-java/src/main/java/com/faunadb/client/errors/ResourceNotAvailableException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package com.faunadb.client.errors; | ||
|
||
import com.faunadb.client.HttpResponses; | ||
|
||
public class ResourceNotAvailableException extends FaunaException { | ||
public ResourceNotAvailableException(HttpResponses.QueryErrorResponse response) { | ||
super(response); | ||
} | ||
public ResourceNotAvailableException(String message) { | ||
super(message); | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
faunadb-java/src/main/java/com/faunadb/client/errors/TooManyRequestsException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package com.faunadb.client.errors; | ||
|
||
import com.faunadb.client.HttpResponses; | ||
|
||
public class TooManyRequestsException extends FaunaException { | ||
public TooManyRequestsException(HttpResponses.QueryErrorResponse response) { | ||
super(response); | ||
} | ||
public TooManyRequestsException(String message) { | ||
super(message); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters