Skip to content

Not parsing response errors #37

@elupus

Description

@elupus

I started using your library for a windows kernel NUT to HID driver (https://github.com/elupus/nut_hid) .

I was trying to match "Err(ClientError::Nut(NutError::VarNotSupported))" but wasn't getting a match. Printing the error gives this representation: "Client error: Server error: VAR-NOT-SUPPORTED".

I think, but not confirmed this yet. That i'm hitting this line:

_ => Err(NutError::generic(format!(
which doesn't seem to be using the parser here:
"VAR-NOT-SUPPORTED" => Self::VarNotSupported,

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