MCPcopy Create free account
hub / github.com/IBM/ACE-RISCV / Error

Enum Error

tools/cove_tap_tool/src/error.rs:6–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4
5#[derive(thiserror::Error, Debug)]
6pub enum Error {
7 #[error("IO Error")]
8 IoError(#[from] std::io::Error),
9 #[error("Invalid parameter")]
10 InvalidParameter(String),
11 #[error("Tap Error")]
12 TapSerializerError(riscv_cove_tap::TapError),
13 #[error("Int casting Error")]
14 TryFromIntErr(#[from] std::num::TryFromIntError),
15 #[error("Cannot open file {0}")]
16 CannotOpenFile(String),
17 #[error("Could not parse int")]
18 IntParseError(#[from] core::num::ParseIntError),
19 #[error("Placeholder error")]
20 PlaceholderError(),
21}
22
23impl From<riscv_cove_tap::TapError> for Error {
24 fn from(err: riscv_cove_tap::TapError) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected