pub enum BuildError {
Show 17 variants
OutputDir {
dir: String,
details: Box<dyn Error>,
},
NotFile(String),
FileNotFound {
file: String,
details: Box<dyn Error>,
},
FileNoAccess {
file: String,
details: Box<dyn Error>,
},
DumpFileCreation {
file: String,
details: Box<dyn Error>,
},
ObjFileCreation {
file: String,
details: Box<dyn Error>,
},
ObjFileWrite {
file: String,
details: Box<dyn Error>,
},
ProductFileCreation {
file: String,
details: Box<dyn Error>,
},
ProductFileWrite {
file: String,
details: Box<dyn Error>,
},
Disassembling {
file: String,
},
ObjDirIsFile(String),
ObjDirFail(String, IoError),
LibDirIsFile(String),
LibIsDir(String),
LibDirFail(String, IoError),
LibIncorrectData(String, DyError),
LibNotAccessible(String, Box<dyn Error>),
}
Variants§
OutputDir
unable to create output directory {dir}
details: {details}
NotFile(String)
{0}
provided as one o the arguments is not a file
FileNotFound
no file named {file}
details: {details}
FileNoAccess
file {file}
exists, but can’t be opened; please check file attributes
details: {details}
DumpFileCreation
unable to create dump file {file}
details: {details}
ObjFileCreation
unable to create object file {file}
details: {details}
ObjFileWrite
unable to write into object file {file}
details: {details}
ProductFileCreation
unable to create product file {file}
details: {details}
ProductFileWrite
unable to write into product file {file}
details: {details}
Disassembling
error disassembling file {file}
since last instruction is incomplete
ObjDirIsFile(String)
path {0}
specified for objects directory (-O | –obj-dir) is not a directory. Try use
lowercase -o argument if you’d like to specify a single object file
ObjDirFail(String, IoError)
can’t access objects directory {0}
details: {1}
LibDirIsFile(String)
path {0}
specified for library directory (-L | –lib-dir) is not a directory. Try use
lowercase -l argument if you’d like to specify a single library file
LibIsDir(String)
library {0}
is a directory, not a file. Try use uppercase -L argument if you’d like to
specify a library directory and not a single file
LibDirFail(String, IoError)
can’t access library directory {0}
details: {1}
LibIncorrectData(String, DyError)
library at {0}
has incorrect binary data
details: {1}
LibNotAccessible(String, Box<dyn Error>)
library file at {0}
is not accessible
details: {1}