Skip to content

Instantly share code, notes, and snippets.

@pedes
Created June 22, 2022 09:56
Show Gist options
  • Save pedes/d1cc4c7fe23b14d0cd1243d54532b1e1 to your computer and use it in GitHub Desktop.
Save pedes/d1cc4c7fe23b14d0cd1243d54532b1e1 to your computer and use it in GitHub Desktop.
// Comment for DW, how to extract the original HTTP error using until succesful
{
statusCode: error.exception.cause.cause.cause.errorMessage.attributes.statusCode,
reason: error.exception.cause.cause.cause.errorMessage.attributes.reasonPhrase,
message: error.exception.cause.cause.cause.errorMessage.typedValue,
service: error.exception.cause.cause.cause.detailMessage
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment