View Source AyeSQL.Error (AyeSQL v1.1.2)

This module defines an AyeSQL error.

Summary

Types

Query arguments.

Query errors.

Query statement.

t()

An error type.

Functions

A query struct.

Creates a new error given some options.

Types

@type arguments() :: [term()]

Query arguments.

@type errors() :: [AyeSQL.AST.Context.error()]

Query errors.

@type statement() :: binary()

Query statement.

@type t() :: %AyeSQL.Error{
  arguments: arguments :: arguments(),
  errors: errors :: errors(),
  statement: statement :: statement()
}

An error type.

Functions

Link to this function

%AyeSQL.Error{}

View Source (struct)

A query struct.

@spec new(keyword()) :: t() | no_return()

Creates a new error given some options.