apkallone/src/apkallone.gleam
2024-10-22 18:50:39 -03:00

17 lines
359 B
Gleam

import gleam/dynamic.{type Dynamic}
import gleam/json.{type DecodeError}
pub const user_agent = "Apkallone/0.1.0"
pub type Client {
Client(instance: String)
}
pub type Error {
BadInstance
FetchError(error: Dynamic)
UnexpectedStatus(status: Int)
UnexpectedContentType(content_type: String)
MissingContentType
DecodeError(error: DecodeError)
}