BaseErrorinterface
{
readonly [key: string]: unknown;
}An Error that provides additional helpful functionality.
- Carries arbitrary named contextual data alongside the standard
Errorfields. - All concrete error classes in this module (
ValueError,RequiredError, etc.) implement this shape.