Exception: Sqlx::ValueTooLong
- 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
-
#initialize(message = "Sqlx::ValueTooLong") ⇒ ValueTooLong
constructor
A new instance of ValueTooLong.
Constructor Details
#initialize(message = "Sqlx::ValueTooLong") ⇒ ValueTooLong
Returns a new instance of ValueTooLong.
7 |
# File 'runtime/sqlx/errors.rbs', line 7
def initialize: (?String message) -> void
|