Skip to content

Instantly share code, notes, and snippets.

@darkwing
Last active March 9, 2017 15:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save darkwing/0e47ee3a7fb0d7b9892342b2402aae93 to your computer and use it in GitHub Desktop.
Save darkwing/0e47ee3a7fb0d7b9892342b2402aae93 to your computer and use it in GitHub Desktop.
Internal Errors
==============================
Response {
status: 500, // HTTP Code
data: {
error: "Internal error: {description of error}. This error has been logged and the team will address the problem shortly.",
}
}
Bugzilla
==============================
Response {
status: 500, // HTTP Code
data: {
error: "Could not connect to Bugzilla."
error: "Bugzilla does not have record for bug #######."
// ....
}
}
Autoland
==============================
Response {
status: 500, // HTTP Code
data: {
error: "Could not connect to Autoland"
error: "User does not have permission to use Autoland"
error: "An unkown error occured; please try again" (?)
}
}
I don't think "landing already in progress" should be an "error", since right
now it's a standard good request response
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment