A domain result mapped to the contract's error vocabulary where the caller has no more specific mapping.
(error: atomic_repository::RepositoryError)
| 455 | /// A domain result mapped to the contract's error vocabulary where the |
| 456 | /// caller has no more specific mapping. |
| 457 | pub fn repository_error(error: atomic_repository::RepositoryError) -> Status { |
| 458 | domain_status(ErrorCode::Repository, error.to_string()) |
| 459 | } |
| 460 | |
| 461 | /// A quick helper so handlers can echo hash bytes consistently. |
| 462 | pub fn hash_bytes(hash: &atomic_core::types::Merkle) -> Vec<u8> { |
no test coverage detected