Exception: Sqlx::ValueTooLong

Inherits:
StandardError
  • Object
show all
Defined in:
runtime/sqlx/errors.rb,
runtime/sqlx/errors.rbs

Overview

Raised when a value exceeds its column's declared limit. Apps also construct it directly to reject over-long input before it reaches the DB. No core raiser; retained as part of the error interface.

Instance Method Summary collapse

Constructor Details

#initialize(message = "Sqlx::ValueTooLong") ⇒ ValueTooLong

Returns a new instance of ValueTooLong.

Parameters:

  • message (String) (defaults to: "Sqlx::ValueTooLong")


7
# File 'runtime/sqlx/errors.rbs', line 7

def initialize: (?String message) -> void