Exception: Prick::Build::PostgresError
- Defined in:
- lib/prick/builder/builder.rb
Instance Attribute Summary collapse
-
#charno ⇒ Object
readonly
Returns the value of attribute charno.
-
#file ⇒ Object
readonly
Returns the value of attribute file.
-
#lineno ⇒ Object
readonly
Returns the value of attribute lineno.
Instance Method Summary collapse
- #err ⇒ Object
-
#initialize(message, file = nil, lineno = nil, charno = nil) ⇒ PostgresError
constructor
A new instance of PostgresError.
Constructor Details
#initialize(message, file = nil, lineno = nil, charno = nil) ⇒ PostgresError
Returns a new instance of PostgresError.
18 19 20 21 |
# File 'lib/prick/builder/builder.rb', line 18 def initialize(, file = nil, lineno = nil, charno = nil) super() @file, @lineno, @charno = file, lineno, charno end |
Instance Attribute Details
#charno ⇒ Object (readonly)
Returns the value of attribute charno.
16 17 18 |
# File 'lib/prick/builder/builder.rb', line 16 def charno @charno end |
#file ⇒ Object (readonly)
Returns the value of attribute file.
14 15 16 |
# File 'lib/prick/builder/builder.rb', line 14 def file @file end |
#lineno ⇒ Object (readonly)
Returns the value of attribute lineno.
15 16 17 |
# File 'lib/prick/builder/builder.rb', line 15 def lineno @lineno end |
Instance Method Details
#err ⇒ Object
23 |
# File 'lib/prick/builder/builder.rb', line 23 def err = [@file, @lineno, @charno] |