Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
144 changes: 91 additions & 53 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ plotters = { version = "0.3", default-features = false, features = ["line_series
rand = { version = "0.9.4", default-features = false, features = ["small_rng", "std", "thread_rng"] }
rand_distr = "0.5"
regex = "1.5"
rune = "0.13"
rune = "0.14"
rust_decimal = "1.36"
rust-embed = "8"
scylla = { version = "1.6", features = ["openssl-010", "chrono-04"], optional = true }
Expand Down
5 changes: 4 additions & 1 deletion src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use crate::scripting::db_error::DbError;
use hdrhistogram::serialization::interval_log::IntervalLogWriterError;
use hdrhistogram::serialization::V2DeflateSerializeError;
use rune::alloc;
use rune::runtime::{AccessError, VmError};
use rune::runtime::{AccessError, RuntimeError, VmError};
use std::path::PathBuf;
use thiserror::Error;

Expand Down Expand Up @@ -55,6 +55,9 @@ pub enum LatteError {

#[error("Rune AccessError: {0}")]
RuneAccessError(#[from] AccessError),

#[error("Rune runtime error: {0}")]
RuneRuntimeError(#[from] RuntimeError),
}

impl From<DbError> for LatteError {
Expand Down
Loading
Loading