Skip to content

Messages

Preformatted error messages for validation pipeline, intended for writing to S3 log or stdout/cloudwatch

file_load_error_msg

file_load_error_msg(exc: Exception) -> dict[str, str | dict]

Attempt to load a file failed.

success_msg

success_msg() -> dict[str, str | None]

File existed and matched definition in label.

validation_error_msg

validation_error_msg(exc: Exception) -> dict[str, str | dict]

Attempt to validate a file encountered an unhandled exception.

validation_failure_message

validation_failure_message(failures: dict) -> dict[str, str | dict]

File did not match definition in label.