--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Returns the individual field of an error.
- !ruby/struct:SM::Flow::P 
  body: "<tt>fieldcode</tt> is one of:"
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: <tt>PG_DIAG_SEVERITY</tt>
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: <tt>PG_DIAG_SQLSTATE</tt>
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: <tt>PG_DIAG_MESSAGE_PRIMARY</tt>
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: <tt>PG_DIAG_MESSAGE_DETAIL</tt>
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: <tt>PG_DIAG_MESSAGE_HINT</tt>
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: <tt>PG_DIAG_STATEMENT_POSITION</tt>
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: <tt>PG_DIAG_INTERNAL_POSITION</tt>
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: <tt>PG_DIAG_INTERNAL_QUERY</tt>
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: <tt>PG_DIAG_CONTEXT</tt>
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: <tt>PG_DIAG_SOURCE_FILE</tt>
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: <tt>PG_DIAG_SOURCE_LINE</tt>
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: <tt>PG_DIAG_SOURCE_FUNCTION</tt>
  type: :BULLET
full_name: PGresult#result_error_field
is_singleton: false
name: result_error_field
params: |
  res.result_error_field(fieldcode) -> String

visibility: public
