class NullByteError

Ruby on Rails edge

Since edge

Raised when a string containing a null byte (+\0+) is used in a statement against a database that cannot store it, such as a text column in PostgreSQL.

The underlying driver error is wrapped so that applications can rescue it and, for example, respond with a 400 Bad Request instead of an unhandled 500.

Inherits from

ActiveRecord::StatementInvalid

Methods (inherited)

From ActiveRecord::StatementInvalid (2)
From ActiveRecord::AdapterError (1)

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close