1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17

/// Errors produced by the wrapper
#[derive(Debug, PartialEq)]
pub enum Error {
    /// A Java object that was to be used was a null value
    NullObjectError,
    /// An error occured creating the JVM
    JVMCreationFailed,
    /// An error occured trying to aquire a JNIEnv
    JNIEnvError,
    /// A referenced topic does not exist and cannot be used
    NoSuchTopic,
    /// An error occurred internally in the wrapper
    InternalError(String),
    /// The EquipmentController class could not be found with the specified name
    BadControllerClass(String)
}