Spatio.Model.PasswordRequiredError (spatio_sdk v0.0.2)

Returned by GET /public/notes/{token} when the note is password-protected. requiresPassword is always true in this response; invalidPassword is true only when a password was supplied and rejected.

Summary

Types

t()

@type t() :: %Spatio.Model.PasswordRequiredError{
  code: String.t() | nil,
  error: String.t(),
  invalidPassword: boolean() | nil,
  requiresPassword: boolean()
}

Functions

decode(value)