plunk/types
Types
pub type PlunkError {
ApiError(code: Int, error: String, message: String, time: Int)
JSONError(json.DecodeError)
}
Constructors
-
ApiError(code: Int, error: String, message: String, time: Int)Error returned directly from the Plunk API
-
JSONError(json.DecodeError)Errors from the Gleam JSON library