Skip to content

Commit

Permalink
Add three new known errors (#237)
Browse files Browse the repository at this point in the history
  • Loading branch information
leikkisa authored Nov 5, 2019
1 parent 6c0c290 commit bebad55
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions lib/vbms/errors.rb
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,15 @@ def initialize(code, body, request = nil)
# https://github.com/department-of-veterans-affairs/caseflow/issues/10164
"Unable to retrieve Veteran information" => "VeteranInfoNotRetrieved",

# https://github.com/department-of-veterans-affairs/caseflow/issues/12590
"Invalid data for BNFT_CLAIM_TYPE_CD" => "BenefitClaimTypeError",

# https://github.com/department-of-veterans-affairs/caseflow/issues/12591
"XCPUPMAILADDR Service call failed" => "XcpupError",

# https://github.com/department-of-veterans-affairs/caseflow/issues/12592
"has invalid character" => "InvalidCharacterError",

# https://github.com/department-of-veterans-affairs/caseflow/issues/11740
"ORACLE ERROR when attempting to store PTCPNT_ADDRS for the vet" => "VeteranAddressError"
}.freeze
Expand Down Expand Up @@ -201,4 +210,7 @@ class VeteranEmployedByStation < HTTPError; end
class FindFiduciaryFailed < HTTPError; end
class VeteranInfoNotRetrieved < HTTPError; end
class VeteranAddressError < HTTPError; end
class BenefitClaimTypeError < HTTPError; end
class XcpupError < HTTPError; end
class InvalidCharacterError < HTTPError; end
end

0 comments on commit bebad55

Please sign in to comment.