Home
last modified time | relevance | path

Searched refs:CliError (Results 1 – 25 of 125) sorted by relevance

12345

/dports/textproc/xsv-rs/xsv-0.13.0/src/
H A Dmain.rs195 pub enum CliError { enum
202 impl fmt::Display for CliError { implementation
215 CliError::Flag(err) in from()
219 impl From<csv::Error> for CliError { implementation
222 return CliError::Csv(err); in from()
231 impl From<io::Error> for CliError { implementation
233 CliError::Io(err) in from()
237 impl From<String> for CliError { implementation
238 fn from(err: String) -> CliError { in from() argument
239 CliError::Other(err) in from()
[all …]
/dports/lang/rust/rustc-1.58.1-src/src/tools/clippy/clippy_dev/src/
H A Dfmt.rs10 pub enum CliError { enum
18 impl From<io::Error> for CliError { implementation
24 impl From<walkdir::Error> for CliError { implementation
73 fn output_err(err: CliError) { in run() argument
78 CliError::IoError(err) => { in run()
84 CliError::WalkDirError(err) => { in run()
87 CliError::RaSetupActive => { in run()
131 ) -> Result<bool, CliError> { in exec() argument
142 return Err(CliError::CommandFailed( in exec()
179 Err(CliError::RustfmtNotInstalled) in rustfmt_test()
[all …]
/dports/databases/fastdb/fastdb/CSharpRemoteCLI/
H A DObjectSet.cs85 throw new CliError("ObjectSet was aleady closed"); in update()
88 throw new CliError("Statement was closed"); in update()
91 throw new CliError("No object was selected"); in update()
94 throw new CliError("Updates not allowed"); in update()
97 throw new CliError("Record was already updated"); in update()
111 throw new CliError("ObjectSet was aleady closed"); in removeAll()
114 throw new CliError("Statement was closed"); in removeAll()
117 throw new CliError("Updates not allowed"); in removeAll()
138 throw new CliError("ObjectSet was aleady closed"); in close()
148 throw new CliError("Statement was closed"); in getObject()
[all …]
H A DConnection.cs62 throw new CliError("Session is not opened"); in close()
84 throw new CliError("Session is not opened"); in createStatement()
95 throw new CliError("Session is not opened"); in commit()
107 throw new CliError("Session is not opened"); in precommit()
119 throw new CliError("Session is not opened"); in rollback()
139 throw new CliError("Session is not opened"); in insert()
189 throw new CliError("Session is not opened"); in createTable()
305 throw new CliError("Create table failed with status: " + rc); in createTable()
392 throw new CliError("Request failed with status " + rc); in sendReceive()
405 throw new CliError("Socket write failed"); in send()
[all …]
H A DStatement.cs30 throw new CliError("Statement already closed"); in close()
219 throw new CliError("Unbound parameter " + p.name); in fetch()
277 throw new CliError("Bad statment: SELECT FROM expected"); in Statement()
286 throw new CliError("Bad statment: table name expected after FROM"); in Statement()
314 … throw new CliError("Class " + tableName + " exists in more than one scope"); in Statement()
322 throw new CliError("Class " + tableName + " not found"); in Statement()
337 throw new CliError("Unterminated string constant in query"); in Statement()
352 throw new CliError("Invalid parameter name"); in Statement()
378 throw new CliError("No such parameter"); in getParam()
/dports/databases/gigabase/gigabase/csharpcli/
H A DObjectSet.cs85 throw new CliError("ObjectSet was aleady closed"); in update()
88 throw new CliError("Statement was closed"); in update()
91 throw new CliError("No object was selected"); in update()
94 throw new CliError("Updates not allowed"); in update()
97 throw new CliError("Record was already updated"); in update()
111 throw new CliError("ObjectSet was aleady closed"); in removeAll()
114 throw new CliError("Statement was closed"); in removeAll()
117 throw new CliError("Updates not allowed"); in removeAll()
138 throw new CliError("ObjectSet was aleady closed"); in close()
148 throw new CliError("Statement was closed"); in getObject()
[all …]
H A DConnection.cs80 throw new CliError("Session is not opened"); in close()
102 throw new CliError("Session is not opened"); in createStatement()
113 throw new CliError("Session is not opened"); in commit()
125 throw new CliError("Session is not opened"); in precommit()
137 throw new CliError("Session is not opened"); in rollback()
157 throw new CliError("Session is not opened"); in insert()
207 throw new CliError("Session is not opened"); in createTable()
323 throw new CliError("Create table failed with status: " + rc); in createTable()
410 throw new CliError("Request failed with status " + rc); in sendReceive()
424 throw new CliError("Socket write failed"); in send()
[all …]
H A DStatement.cs30 throw new CliError("Statement already closed"); in close()
219 throw new CliError("Unbound parameter " + p.name); in fetch()
277 throw new CliError("Bad statment: SELECT FROM expected"); in Statement()
286 throw new CliError("Bad statment: table name expected after FROM"); in Statement()
325 … throw new CliError("Class " + tableName + " exists in more than one scope"); in Statement()
335 throw new CliError("Class " + tableName + " not found"); in Statement()
350 throw new CliError("Unterminated string constant in query"); in Statement()
365 throw new CliError("Invalid parameter name"); in Statement()
391 throw new CliError("No such parameter"); in getParam()
/dports/databases/fastdb/fastdb/javacli/
H A DObjectSet.java75 throw new CliError("ObjectSet was aleady closed"); in update()
78 throw new CliError("Statement was closed"); in update()
81 throw new CliError("No object was selected"); in update()
84 throw new CliError("Updates not allowed"); in update()
87 throw new CliError("Record was already updated"); in update()
101 throw new CliError("ObjectSet was aleady closed"); in removeAll()
104 throw new CliError("Statement was closed"); in removeAll()
107 throw new CliError("Updates not allowed"); in removeAll()
126 throw new CliError("ObjectSet was aleady closed"); in close()
136 throw new CliError("Statement was closed"); in getObject()
[all …]
H A DConnection.java40 throw new CliError("Faield to open database: " + x); in open()
66 throw new CliError("Session is not opened"); in close()
78 throw new CliError("Close failed: " + x); in close()
91 throw new CliError("Session is not opened"); in createStatement()
101 throw new CliError("Session is not opened"); in commit()
112 throw new CliError("Session is not opened"); in precommit()
123 throw new CliError("Session is not opened"); in rollback()
143 throw new CliError("Session is not opened"); in insert()
214 throw new CliError("Session is not opened"); in createTable()
407 throw new CliError("Communication error: " + x); in send()
[all …]
/dports/databases/gigabase/gigabase/javacli/
H A DObjectSet.java75 throw new CliError("ObjectSet was aleady closed"); in update()
78 throw new CliError("Statement was closed"); in update()
81 throw new CliError("No object was selected"); in update()
84 throw new CliError("Updates not allowed"); in update()
87 throw new CliError("Record was already updated"); in update()
100 throw new CliError("ObjectSet was aleady closed"); in removeAll()
103 throw new CliError("Statement was closed"); in removeAll()
106 throw new CliError("Updates not allowed"); in removeAll()
125 throw new CliError("ObjectSet was aleady closed"); in close()
135 throw new CliError("Statement was closed"); in getObject()
[all …]
H A DConnection.java53 throw new CliError("Faield to open database: " + x); in open()
83 throw new CliError("Session is not opened"); in close()
95 throw new CliError("Close failed: " + x); in close()
108 throw new CliError("Session is not opened"); in createStatement()
118 throw new CliError("Session is not opened"); in commit()
129 throw new CliError("Session is not opened"); in precommit()
140 throw new CliError("Session is not opened"); in rollback()
160 throw new CliError("Session is not opened"); in insert()
231 throw new CliError("Session is not opened"); in createTable()
424 throw new CliError("Communication error: " + x); in send()
[all …]
/dports/multimedia/librav1e/rav1e-0.5.1/src/bin/
H A Derror.rs12 pub enum CliError { enum
21 impl CliError { implementation
22 pub fn new(msg: &str) -> CliError { in new() argument
23 CliError::Message { msg: msg.to_owned() } in new()
28 fn context(self, msg: &str) -> CliError { in context() argument
29 CliError::Generic { msg: msg.to_owned(), e: self.to_string() } in context()
34 fn context(self, opt: &str) -> CliError { in context() argument
35 CliError::ParseInt { opt: opt.to_lowercase(), err: self } in context()
/dports/multimedia/rav1e/rav1e-0.5.1/src/bin/
H A Derror.rs12 pub enum CliError { enum
21 impl CliError { impl
22 pub fn new(msg: &str) -> CliError { in new() argument
23 CliError::Message { msg: msg.to_owned() } in new()
28 fn context(self, msg: &str) -> CliError { in context() argument
29 CliError::Generic { msg: msg.to_owned(), e: self.to_string() } in context()
34 fn context(self, opt: &str) -> CliError { in context() argument
35 CliError::ParseInt { opt: opt.to_lowercase(), err: self } in context()
/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/cargo-crates/rav1e-0.4.1/src/bin/
H A Derror.rs12 pub enum CliError { enum
21 impl CliError { implementation
22 pub fn new(msg: &str) -> CliError { in new() argument
23 CliError::Message { msg: msg.to_owned() } in new()
28 fn context(self, msg: &str) -> CliError { in context() argument
29 CliError::Generic { msg: msg.to_owned(), e: self.to_string() } in context()
34 fn context(self, opt: &str) -> CliError { in context() argument
35 CliError::ParseInt { opt: opt.to_lowercase(), err: self } in context()
/dports/sysutils/vector/vector-0.10.0/cargo-crates/hdrhistogram-6.3.4/examples/
H A Dcli.rs119 ) -> Result<(), CliError> { in serialize() argument
144 ) -> Result<(), CliError> { in quantiles() argument
232 enum CliError { enum
240 impl From<io::Error> for CliError { implementation
242 CliError::Io(e) in from()
246 impl From<V2SerializeError> for CliError { implementation
248 CliError::HistogramSerialize(e) in from()
258 impl From<RecordError> for CliError { implementation
260 CliError::HistogramRecord(e) in from()
264 impl From<DeserializeError> for CliError { implementation
[all …]
/dports/audio/kid3-kf5/kid3-3.8.6/src/app/cli/
H A Djsoncliformatter.cpp39 int jsonRpcErrorCode(CliError errorCode) in jsonRpcErrorCode()
44 case CliError::Ok: in jsonRpcErrorCode()
47 case CliError::ApplicationError: in jsonRpcErrorCode()
50 case CliError::ParseError: in jsonRpcErrorCode()
53 case CliError::InvalidRequest: in jsonRpcErrorCode()
54 case CliError::Usage: in jsonRpcErrorCode()
57 case CliError::MethodNotFound: in jsonRpcErrorCode()
60 case CliError::InvalidParams: in jsonRpcErrorCode()
63 case CliError::InternalError: in jsonRpcErrorCode()
188 if (errorCode == CliError::MethodNotFound) { in writeError()
[all …]
/dports/audio/kid3-qt5/kid3-3.8.6/src/app/cli/
H A Djsoncliformatter.cpp39 int jsonRpcErrorCode(CliError errorCode) in jsonRpcErrorCode()
44 case CliError::Ok: in jsonRpcErrorCode()
47 case CliError::ApplicationError: in jsonRpcErrorCode()
50 case CliError::ParseError: in jsonRpcErrorCode()
53 case CliError::InvalidRequest: in jsonRpcErrorCode()
54 case CliError::Usage: in jsonRpcErrorCode()
57 case CliError::MethodNotFound: in jsonRpcErrorCode()
60 case CliError::InvalidParams: in jsonRpcErrorCode()
63 case CliError::InternalError: in jsonRpcErrorCode()
188 if (errorCode == CliError::MethodNotFound) { in writeError()
[all …]
/dports/devel/cargo-c/cargo-c-0.9.6+cargo-0.58/cargo-crates/cargo-0.58.0/src/cargo/util/
H A Derrors.rs255 pub type CliResult = Result<(), CliError>;
263 pub struct CliError { struct
274 impl CliError { argument
276 CliError { in new()
282 pub fn code(code: i32) -> CliError { in code() argument
283 CliError { in code()
290 impl From<anyhow::Error> for CliError { implementation
292 CliError::new(err, 101) in from()
296 impl From<clap::Error> for CliError { implementation
297 fn from(err: clap::Error) -> CliError { in from() argument
[all …]
/dports/lang/rust/rustc-1.58.1-src/src/tools/cargo/src/cargo/util/
H A Derrors.rs255 pub type CliResult = Result<(), CliError>;
263 pub struct CliError { struct
274 impl CliError { argument
276 CliError { in new()
282 pub fn code(code: i32) -> CliError { in code() argument
283 CliError { in code()
290 impl From<anyhow::Error> for CliError { implementation
292 CliError::new(err, 101) in from()
296 impl From<clap::Error> for CliError { implementation
297 fn from(err: clap::Error) -> CliError { in from() argument
[all …]
/dports/devel/cargo-generate/cargo-generate-0.9.0/cargo-crates/cargo-0.55.0/src/cargo/util/
H A Derrors.rs255 pub type CliResult = Result<(), CliError>;
263 pub struct CliError { struct
274 impl CliError { impl
276 CliError { in new()
282 pub fn code(code: i32) -> CliError { in code() argument
283 CliError { in code()
290 impl From<anyhow::Error> for CliError { implementation
292 CliError::new(err, 101) in from()
296 impl From<clap::Error> for CliError { implementation
297 fn from(err: clap::Error) -> CliError { in from() argument
[all …]
/dports/databases/fastdb/fastdb/ruby/
H A Dfastdb.rb596 raise CliError, "Statement already closed"
726 class CliError < RuntimeError class
809 raise CliError, "Statement was closed"
812 raise CliError, "No object was selected"
815 raise CliError, "Updates not allowed"
907 raise CliError, "Statement was closed"
910 raise CliError, "Updates not allowed"
924 raise CliError, "Statement was closed"
927 raise CliError, "Updates not allowed"
930 raise CliError, "No object was selected"
[all …]
/dports/sysutils/dnf/dnf-4.9.0/dnf/cli/commands/
H A Dhistory.py101 raise dnf.cli.CliError(_('No transaction file name given.'))
132 raise dnf.cli.CliError(msg)
135 raise dnf.cli.CliError(self._require_one_transaction_id_msg)
144 raise dnf.cli.CliError(msg)
175 raise dnf.cli.CliError(_('No transaction ID given'))
256 raise dnf.cli.CliError(_('No packages to list'))
282 raise dnf.cli.CliError
289 raise dnf.cli.CliError
294 raise dnf.cli.CliError
297 raise dnf.cli.CliError
[all …]
/dports/lang/rust/rustc-1.58.1-src/src/tools/cargo/src/bin/cargo/commands/
H A Dtest.rs86 return Err(CliError::new( in exec()
92 return Err(CliError::new( in exec()
130 Some(i) if cargo_util::is_simple_exit_code(i) => CliError::new(context, i), in exec()
131 Some(i) => CliError::new(Error::from(err).context(context), i), in exec()
132 None => CliError::new(Error::from(err).context(context), 101), in exec()
/dports/devel/cargo-generate/cargo-generate-0.9.0/cargo-crates/cargo-0.55.0/src/bin/cargo/commands/
H A Dtest.rs86 return Err(CliError::new( in exec()
92 return Err(CliError::new( in exec()
130 Some(i) if cargo_util::is_simple_exit_code(i) => CliError::new(context, i), in exec()
131 Some(i) => CliError::new(Error::from(err).context(context), i), in exec()
132 None => CliError::new(Error::from(err).context(context), 101), in exec()

12345