class PgORM::Error::RecordInvalid

Defined in:

pg-orm/errors.cr

Constructors

Instance Method Summary

Instance methods inherited from class PgORM::Error

message : String? message

Constructor methods inherited from class PgORM::Error

new(message : String | Nil = "") new

Constructor Detail

def self.new(model : PgORM::Base, message = nil) #

[View source]

Instance Method Detail

def errors : Array(NamedTuple(field: Symbol, message: String)) #

[View source]
def model : Base #

[View source]