-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
28 additions
and
28 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
package main | ||
const ( | ||
// ErrCodeBadContent is reported when the reports content could not be parsed. | ||
ErrCodeBadContent = "RS_BAD_CONTENT"; | ||
ErrCodeBadContent = "BAD_CONTENT"; | ||
// ErrCodeBadHeader is reported when a header was not able to be parsed. | ||
ErrCodeBadHeader = "RS_BAD_HEADER"; | ||
ErrCodeBadHeader = "BAD_HEADER"; | ||
// ErrCodeContentTooLarge is reported when the reported content size is too large. | ||
ErrCodeContentTooLarge = "RS_CONTENT_TOO_LARGE"; | ||
ErrCodeContentTooLarge = "CONTENT_TOO_LARGE"; | ||
// ErrCodeDisallowedApp is reported when a report was rejected due to the report being sent from an unsupported | ||
ErrCodeDisallowedApp = "RS_DISALLOWED_APP"; | ||
ErrCodeDisallowedApp = "DISALLOWED_APP"; | ||
// ErrCodeMethodNotAllowed is reported when you have used the wrong method for an endpoint. | ||
ErrCodeMethodNotAllowed = "RS_METHOD_NOT_ALLOWED"; | ||
ErrCodeMethodNotAllowed = "METHOD_NOT_ALLOWED"; | ||
// ErrCodeRejected is reported when the submission could be understood but was rejected by RejectionConditions. | ||
ErrCodeRejected = "RS_REJECTED"; | ||
ErrCodeRejected = "REJECTED"; | ||
// ErrCodeUnknown is a catch-all error when the appliation does not have a specific error. | ||
ErrCodeUnknown = "RS_UNKNOWN"; | ||
ErrCodeUnknown = "UNKNOWN"; | ||
) |
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