12 lines
482 B
Rust
12 lines
482 B
Rust
/**
|
|
* Stable IPC error codes. The renderer maps `errors:native.*` (and other
|
|
* `errors:` keys that match these dotted paths). Command envelopes may also
|
|
* still carry a human `error` string for logs.
|
|
*/
|
|
pub mod codes {
|
|
pub const TASK_JOIN: &str = "native.taskJoin";
|
|
pub const INVALID_BASE64: &str = "native.invalidBase64";
|
|
pub const KNOWN_HOSTS_PATH: &str = "native.knownHostsPath";
|
|
pub const INVALID_HOST_KEY_DECISION: &str = "native.invalidHostKeyDecision";
|
|
}
|