-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add error messaging to Veteran Verification /status endpoint
- Loading branch information
1 parent
367d277
commit 6fc4210
Showing
4 changed files
with
48 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
module VeteranVerification | ||
module Constants | ||
NOT_FOUND_MESSAGE = [ | ||
'We’re sorry. There’s a problem with your discharge status records. We can’t provide a Veteran status ' \ | ||
'card for you right now.', | ||
'To fix the problem with your records, call the Defense Manpower Data Center at 800-538-9552 (TTY: 711).' \ | ||
' They’re open Monday through Friday, 8:00 a.m. to 8:00 p.m. ET.' | ||
] | ||
NOT_ELIGIBLE_MESSAGE = [ | ||
'Our records show that you’re not eligible for a Veteran status card. To get a Veteran status card, you ' \ | ||
'must have received an honorable discharge for at least one period of service.', | ||
'If you think your discharge status is incorrect, call the Defense Manpower Data Center at 800-538-9552 ' \ | ||
'(TTY: 711). They’re open Monday through Friday, 8:00 a.m. to 8:00 p.m. ET.' | ||
] | ||
end | ||
end | ||
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