tinychip 0.1.1

CHIP-8 emulator/interpreter
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use thiserror::Error;

#[derive(Error, Debug)]
pub enum ChipError {
    #[error("Unable to read this file: {0}")]
    ReadFile(String),
    #[error("Unable to load the program")]
    LoadProgram,
    #[error("Unable to use this API")]
    UseApi,
    #[error("Unable to use this interpreter")]
    UseIntepreter,
    #[error("Unknown error")]
    Unknown
}