GRDECLMissingValueError¶
- class petres.errors.GRDECLMissingValueError[source]¶
Bases:
GRDECLExportErrorRepresent errors raised when GRDECL export encounters missing values.
This exception is intended for validation failures where exported keyword arrays still contain NaN values.
- 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. The
keywordvalue is expected by the default template.
Notes
The default template requires the
keywordcontext key.Initialize the error and format the active message template.