Skip to content

add with_error() for SPI Transaction #128

@2bndy5

Description

@2bndy5

I'm trying to write a test that catches an SPI error (specifically embedded_hal::spi::ErrorKind). I see that other mocked Transactions have with_error() defined, but the eh1::spi::Transaction struct has no way of returning a mocked error.

Is this an oversight or intentional?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions