class
PgORM::Error::ConnectError
- PgORM::Error::ConnectError
- PgORM::Error
- Exception
- Reference
- Object
Overview
Raised when the database connection cannot be established.
Example
PgORM::Database.configure do |settings|
settings.host = "nonexistent.example.com"
end
User.all.to_a # Raises ConnectError