blueprint-core 0.2.0-alpha.2

Blueprint SDK Core functionality
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Rejection response types.

use crate::__define_rejection as define_rejection;

define_rejection! {
    #[body = "Request body didn't contain valid UTF-8"]
    /// Rejection type used when buffering a [`JobCall`] into a [`String`] if the
    /// body doesn't contain valid UTF-8.
    ///
    /// [`JobCall`]: crate::JobCall
    /// [`String`]: https://doc.rust-lang.org/std/string/struct.String.html
    pub struct InvalidUtf8(Error);
}