t

xsbti

DiagnosticCode

trait DiagnosticCode extends AnyRef

A DiagnosticCode is a unique identifier that the compiler can associate with a diagnostic. This is useful for tools to be able to quickly identify what diagnostic is being reported without having to rely on parsing the actual diagnostic message, which might not be stable.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DiagnosticCode
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def code(): String

    The unique code.

    The unique code. This is typically in the format of E000

  2. abstract def explanation(): Optional[String]

    Possible explanation to explain the meaning of the code