Skip to main content

Module error

Module error 

Source

Functionsยง

json_error_response
Build an AWS JSON error response (used by JSON protocol services: SSM, EventBridge, etc.).
s3_xml_error_response
Build an S3-style XML error response. S3 uses <Error> (not <ErrorResponse>) with different field ordering.
s3_xml_error_response_with_fields
Build an S3-style XML error response with additional fields (e.g., BucketName, Key).
xml_error_response
Build an AWS XML error response (used by Query protocol services: SQS, SNS, IAM, STS).