proteobench.validation.exceptions module#

Exceptions for the ProteoBench submission-validation layer.

The validation layer primarily communicates through a structured proteobench.validation.report.ValidationReport. This exception is a thin convenience for callers (notebooks, CLI, programmatic submission) that prefer to fail fast instead of inspecting the report.

Classes#

SubmissionValidationError

Raised when a submission fails validation with at least one error.

exception proteobench.validation.exceptions.SubmissionValidationError(report: ValidationReport)[source]#

Bases: Exception

Raised when a submission fails validation.

The originating ValidationReport is attached as the report attribute so callers can inspect every issue.

Parameters:

report (ValidationReport) – The validation report that triggered the error.