Class

roc.postgresql.server

ErrorMessage

Related Doc: package server

Permalink

final case class ErrorMessage extends PostgresqlMessage with Product with Serializable

Represents a set of Error Messages

See also

https://github.com/postgres/postgres/blob/master/src/backend/utils/errcodes.txt

http://www.postgresql.org/docs/current/static/errcodes-appendix.html

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ErrorMessage
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. PostgresqlMessage
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. val code: String

    Permalink

    The SQLSTATE code for the error.

  7. val columnName: Option[String]

    Permalink

    The name of the column.

    The name of the column.

    If the error was associated with a specific table column, the name of the column. (Refer to the schema and table name fields to identify the table.)

    Definition Classes
    PostgresqlMessage
    See also

    http://www.postgresql.org/docs/current/static/protocol-error-fields.html

  8. val constraintName: Option[String]

    Permalink

    The name of the constraint.

    The name of the constraint.

    If the error was associated with a specific constraint, the name of the constraint. Refer to fields listed above for the associated table or domain. (For this purpose, indexes are treated as constraints, even if they weren't created with constraint syntax.)

    Definition Classes
    PostgresqlMessage
    See also

    http://www.postgresql.org/docs/current/static/protocol-error-fields.html

  9. val dataTypeName: Option[String]

    Permalink

    The name of the data type.

    The name of the data type.

    If the error was associated with a specific data type, the name of the data type. (Refer to the schema name field for the name of the data type's schema.)

    Definition Classes
    PostgresqlMessage
    See also

    http://www.postgresql.org/docs/current/static/protocol-error-fields.html

  10. val detail: Option[String]

    Permalink

    A secondary error message carrying more detail about the problem.

    A secondary error message carrying more detail about the problem.

    It is possible for this message to run multiple lines.

    Definition Classes
    PostgresqlMessage
    See also

    http://www.postgresql.org/docs/current/static/protocol-error-fields.html

  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. val file: Option[String]

    Permalink

    The file name of the source-code location where the error was reported.

    The file name of the source-code location where the error was reported.

    Definition Classes
    PostgresqlMessage
    See also

    http://www.postgresql.org/docs/current/static/protocol-error-fields.html

  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. val hint: Option[String]

    Permalink

    A optional suggestion what to do about the problem.

    A optional suggestion what to do about the problem.

    This is intended to differ from Detail in that it offers advice (potentially inappropriate) rather than hard facts. Might run to multiple lines.

    Definition Classes
    PostgresqlMessage
    See also

    http://www.postgresql.org/docs/current/static/protocol-error-fields.html

  16. val internalPosition: Option[String]

    Permalink

    Indicates an error cursor postion as an index of an internally generated command.

    Indicates an error cursor postion as an index of an internally generated command.

    This is defined the same as position, but it is used when the cursor position refers to an internally generated command rather than the one submitted by the client. The internalQuery field will always appear when this field appears.

    Definition Classes
    PostgresqlMessage
    See also

    http://www.postgresql.org/docs/current/static/protocol-error-fields.html

  17. val internalQuery: Option[String]

    Permalink

    The text of a failed internally-generated command.

    The text of a failed internally-generated command.

    This could be, for example, a SQL query issued by a PL/pgSQL function.

    Definition Classes
    PostgresqlMessage
    See also

    http://www.postgresql.org/docs/current/static/protocol-error-fields.html

  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. val line: Option[String]

    Permalink

    The line number of the source-code location where the error was reported.

    The line number of the source-code location where the error was reported.

    Definition Classes
    PostgresqlMessage
    See also

    http://www.postgresql.org/docs/current/static/protocol-error-fields.html

  20. val message: String

    Permalink

    The primary human-readable error message.

    The primary human-readable error message.

    This should be accurate but terse (typically one line).

    Definition Classes
    PostgresqlMessage
    Note

    Always present.

    See also

    http://www.postgresql.org/docs/current/static/protocol-error-fields.html

  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. val position: Option[String]

    Permalink

    Indicates an error cursor position as an index into the original query string.

    Indicates an error cursor position as an index into the original query string.

    The field value is a decimal ASCII integer, indicating an error cursor position as an index into the original query string. The first character has index 1, and positions are measured in characters not bytes.

    Definition Classes
    PostgresqlMessage
    See also

    http://www.postgresql.org/docs/current/static/protocol-error-fields.html

  25. val routine: Option[String]

    Permalink

    The name of the source-code routine reporting the error.

    The name of the source-code routine reporting the error.

    Definition Classes
    PostgresqlMessage
    See also

    http://www.postgresql.org/docs/current/static/protocol-error-fields.html

  26. val schemaName: Option[String]

    Permalink

    The name of the schema containing that object.

    The name of the schema containing that object.

    If the error was associated with a specific database object, the name of the schema containing that object, if any.

    Definition Classes
    PostgresqlMessage
    See also

    http://www.postgresql.org/docs/current/static/protocol-error-fields.html

  27. val severity: String

    Permalink

    The severity of the Error or Notice

    The severity of the Error or Notice

    The field contents are ERROR, FATAL, or PANIC (in an error message), or WARNING, NOTICE, DEBUG, INFO, or LOG (in a notice message), or a localized translation of one of these.

    Definition Classes
    PostgresqlMessage
    Note

    Always present.

    See also

    http://www.postgresql.org/docs/current/static/errcodes-appendix.html

    http://www.postgresql.org/docs/current/static/protocol-error-fields.html

  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  29. val tableName: Option[String]

    Permalink

    The name of the table.

    The name of the table.

    If the error was associated with a specific table, the name of the table. (Refer to the schema name field for the name of the table's schema.)

    Definition Classes
    PostgresqlMessage
    See also

    http://www.postgresql.org/docs/current/static/protocol-error-fields.html

  30. def toString(): String

    Permalink
    Definition Classes
    ErrorMessage → AnyRef → Any
  31. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. val where: Option[String]

    Permalink

    An indication of the context in which the error occurred.

    An indication of the context in which the error occurred.

    Presently this includes a call stack traceback of active procedural language functions and internally-generated queries. The trace is one entry per line, most recent first.

    Definition Classes
    PostgresqlMessage
    See also

    http://www.postgresql.org/docs/current/static/protocol-error-fields.html

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from PostgresqlMessage

Inherited from AnyRef

Inherited from Any

Ungrouped