latexsnipper-runtime-plugin-api 3.1.0

Versioned C ABI and trusted loader for LaTeXSnipper runtime plugins
Documentation
1
2
3
4
5
6
7
8
9
//! Runtime plugin host errors.

use latexsnipper_foundation::SnipperError;

pub fn plugin_runtime_error(message: impl Into<String>) -> SnipperError {
    SnipperError::Runtime(format!("[runtime-plugin] {}", message.into()))
}

pub type PluginRuntimeResult<T> = Result<T, SnipperError>;