diff --git a/lib/errors.js b/lib/errors.js index 4e197b82..b11f2259 100644 --- a/lib/errors.js +++ b/lib/errors.js @@ -109,6 +109,13 @@ const byErrorCode = Object.assign(Object.create(null), { shouldRetry: true, }, }, + PROBLEMS: { + Error: HafasServerError, + message: 'an unknown problem occured during search', + props: { + shouldRetry: true, + }, + }, LOCATION: { Error: HafasNotFoundError, message: 'location/stop not found',