for handling error from the b2 server calls
t() :: %Blazay.Error{code: String.t, message: String.t, status: integer}