Skip to content

Add specific errors for network issues#77

Merged
AdamWhittingham merged 3 commits intomasterfrom
add-service-unreachable-error
Feb 7, 2020
Merged

Add specific errors for network issues#77
AdamWhittingham merged 3 commits intomasterfrom
add-service-unreachable-error

Conversation

@AdamWhittingham
Copy link
Contributor

@AdamWhittingham AdamWhittingham commented Feb 7, 2020

Add new errors to help with networking issues:

  • BadGatewayError (HTTP 502)
  • ServiceUnavailableError (HTTP 503)
  • GatewayTimeoutError (HTTP 504)

Each inherrits from ServiceUnreachableError for easier rescueing

@AdamWhittingham AdamWhittingham changed the title Add ServiceUnreachableError to help spot comminication issues Add specific errors for network issues Feb 7, 2020
@AdamWhittingham AdamWhittingham force-pushed the add-service-unreachable-error branch from 61908bb to 07425f0 Compare February 7, 2020 15:59
@AdamWhittingham AdamWhittingham merged commit 8d19041 into master Feb 7, 2020
@gshutler gshutler deleted the add-service-unreachable-error branch February 7, 2020 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants