Rust

error

Module

The errors of domain parsing, validation and registrar calls.

Contents

use utopia_domains::Error;
Rust
pub enum Error

Why an operation failed. Each variant carries the message and, where it has one, the numeric code.

Registrar errors keep the code the registrar answered with (an HTTP status for Name.com, an OpenSRS response code), so callers can tell a missing domain (404) from a refused request (400).