BaseError = object of CatchableError
Error = enum_duckdb_state
OperationError = object of BaseError
converter toBool(e: Error): bool {....raises: [], tags: [], forbids: [].}
template check(error: Error; message: string): untyped
template check(error: Error; message: string; finalizer: untyped): untyped