## errors.ColumnSchemaError


A frame's columns or dtypes do not match the schema.


Usage

``` python
errors.ColumnSchemaError(
    schema_name,
    problems,
)
```


This is a bug in the pipeline, not bad data, so the run fails before `Schema.filter` runs, and the asset writes nothing.


## Methods

| Name | Description |
|----|----|
| [__init__()](#__init__) | Name each mismatched column with its expected and actual dtype. |

------------------------------------------------------------------------


#### \_\_init\_\_()


Name each mismatched column with its expected and actual dtype.


Usage

``` python
__init__(schema_name, problems)
```


##### Parameters


`problems: Sequence[Mapping[str, str]]`  
One mapping of `column`, `expected` and `actual` per mismatched column, as `_column_schema_problems` returns.
