UnsupportedGridAttributeError¶
- class petres.errors.UnsupportedGridAttributeError[source]¶
Bases:
GridErrorRepresent an error for unsupported grid attribute access.
- Parameters:
message (str | None, default=None) – Error message template. If
None, the class-leveldefault_messageis used.**context (Any) – Keyword values used for message formatting. If
supported_namesis provided and iterable, it is converted to a readable comma-separated string.
Initialize the exception with optional formatting context.