GRDECLExportError¶
- class petres.errors.GRDECLExportError[source]¶
Bases:
EclipseError,ExportErrorRepresent errors raised during GRDECL export operations.
This exception captures generic failures that occur during GRDECL serialization and export routines.
- Parameters:
message (str or None, default=None) – Error message template. If
None,default_messageis used.**context (object) – Keyword values used to format the resolved message template.
Notes
Message formatting may raise
ValueErrorwhen a required template key is missing fromcontext.Initialize the error and format the active message template.