Class: PGErrorLine

Inherits:
PGLogLine show all
Defined in:
lib/pqa.rb

Overview

Error Management Those 4 classes are untested keep ignore = true for the moment

Constant Summary

Constants inherited from PGLogLine

PGLogLine::DEBUG

Instance Attribute Summary

Attributes inherited from PGLogLine

#cmd_no, #connection_id, #duration, #ignore, #line_no, #text

Instance Method Summary collapse

Methods inherited from PGLogLine

#dump, #initialize, #parse_duration, #to_s

Constructor Details

This class inherits a constructor from PGLogLine

Instance Method Details

#append_to(errors) ⇒ Object



310
311
312
313
314
# File 'lib/pqa.rb', line 310

def append_to(errors)
  closed_query = errors.pop
  errors.push(ErrorQuery.new(@text))
  return closed_query
end