Represents an error in MISRA compliance, including the rule ID, the joinpoint where the violation occurred, and a descriptive message.

Constructors

Properties

Methods

Constructors

  • Parameters

    • ruleID: string

      specific MISRA rule that was violated

    • $jp: Joinpoint

      joinpoint where the error was detected

    • message: string

      description of the error

    Returns MISRAError

Properties

The joinpoint where the error was detected

message: string

Explanation of the violation

ruleID: string

Represents the specific MISRA rule that was violated

Methods

  • Checks if two instances of MISRAError are equal based on all properties

    Parameters

    Returns boolean

    Returns true if the errors are the same, false otherwise