main
 1# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
 2
 3from typing import Optional
 4
 5from .._models import BaseModel
 6
 7__all__ = ["BatchError"]
 8
 9
10class BatchError(BaseModel):
11    code: Optional[str] = None
12    """An error code identifying the error type."""
13
14    line: Optional[int] = None
15    """The line number of the input file where the error occurred, if applicable."""
16
17    message: Optional[str] = None
18    """A human-readable message providing more details about the error."""
19
20    param: Optional[str] = None
21    """The name of the parameter that caused the error, if applicable."""