API reference Dodo 0.1.4

std/fmt/errors

Public declarations, types, methods, and source contracts for std/fmt/errors.

On this page

Library guide · API index and notation

This page is generated from the bundled library in this checkout. Signatures and adjacent source comments are reproduced below; the linked guide explains usage, storage, failures, and platform support.

import "std/fmt/errors"

Names used in signatures

Unqualified names denote this package’s types (including other source files in the same package), language built-ins, or generic parameters such as T. Qualified names use the import aliases below. These aliases belong to the library source; import a dependency yourself to use its alias in your program.

Alias Package Source file
allocation_errors alloc/error errors.dodo
bytes_errors std/bytes errors.dodo
fmt std/fmt errors.dodo
io std/io errors.dodo
math_errors std/math errors.dodo
sync_error_errors std/sync/error errors.dodo
text_errors std/text errors.dodo
time_errors std/time errors.dodo
web_errors std/web errors.dodo

Message

Struct · Source

An enum error’s display contains only a static domain and kind name. These adapters are optional; importing fmt never imports their source packages.

pub struct Message {
    // Private implementation fields omitted.
}

Message.format

Function · Source

pub fn format<W>(&self, output: &mut fmt.Formatter<W>) -> void!io.Error

allocation

Function · Source

pub fn allocation(reason: allocation_errors.AllocError) -> Message from(static)

range

Function · Source

pub fn range(reason: bytes_errors.RangeError) -> Message from(static)

parse

Function · Source

pub fn parse(reason: text_errors.ParseError) -> Message from(static)

format

Function · Source

pub fn format(reason: fmt.FormatError) -> Message from(static)

synchronization

Function · Source

pub fn synchronization(reason: sync_error_errors.Error) -> Message from(static)

web

Function · Source

pub fn web(reason: web_errors.Error) -> Message from(static)

math

Function · Source

pub fn math(reason: math_errors.MathError) -> Message from(static)

time

Function · Source

pub fn time(reason: time_errors.TimeError) -> Message from(static)

Type to search all documentation.

Keyboard shortcuts

Search documentation
Ctrl K or /
Move through results
↑ ↓
Open selected result
Enter
Close a dialog
Esc
Show these shortcuts
?