near-event-stream-processor 0.0.1

A Rust library to process NEAR Event Streams
Documentation
use thiserror::Error;

#[derive(Error, Debug)]
pub enum Error {
    #[error("Message has no payload")]
    NoPayload,
    #[error("Message payload is not a string")]
    PayloadIsNotString,
    #[error("Payload deserialized error")]
    PayloadDeserializedError(#[from] serde_json::error::Error),
}