cadence_error
Stable error · Runtime I/O
Tier: stable · Kind: error · Topic: Runtime I/O
| Julia | TypeScript | Python | Rust | Go |
|---|---|---|---|---|
| not exported | outside profile | CadenceError | CadenceError | CadenceError |
Julia
Julia does not export this error.
TypeScript
Not available in TypeScript. TypeScript is outside the runtime I/O capability profile (Julia, Python, Rust): data-source providers, refresh cadence, output sinks, checkpoints.
Python
class CadenceError(EarthSciAstError)
A cadence-partition contract violation in a model or producer output.
Rust
pub type CadenceError = MessageError;
A cadence-partition contract violation in a fixture or producer output (a
wrong expect_cadence, a CONTINUOUS relational node, a from_faq cycle, a
float topology key, or a malformed node).
Alias of the shared crate::error::MessageError newtype; the public name and
its bare-{0} Display output are unchanged.
Go
type CadenceError struct {
Code string
Message string
}
func (e *CadenceError) DiagnosticCode() string
func (e *CadenceError) Error() string
CadenceError is a cadence-partition contract violation: an observed-definition cycle (§5.7.2), a failed expect_cadence assertion (§5.7.6 guard 3), or a relational node on the hot path (guard 2).
Methods
func (e *CadenceError) DiagnosticCode() string
DiagnosticCode returns the stable diagnostic code (DiagnosticError).
func (e *CadenceError) Error() string