halley-api 0.1.0

Public API types for Halley compositor clients and tools.
Documentation
1
2
3
4
5
6
7
8
9
10
use serde::{Deserialize, Serialize};

#[derive(Debug, Clone, Serialize, Deserialize)]
pub enum ApiError {
    InvalidRequest(String),
    NotFound(String),
    Ambiguous(String),
    Unsupported(String),
    Internal(String),
}