Share via


BicepErrorMessage Class

Definition

Represents an error or warning from an external Bicep processing tool. The RawText will always be present and the other members will optionally be available if we are able to parse the message.

public class BicepErrorMessage
type BicepErrorMessage = class
Public Class BicepErrorMessage
Inheritance
BicepErrorMessage

Properties

Code

Optional error code describing the error. If this is not provided then defer to the RawText.

ColumnNumber

Optional column number in FilePath containing the error. If this is not provided then defer to the RawText.

FilePath

Optional file path containing the error. If this is not provided then defer to the RawText.

IsError
LineNumber

Optional line number in FilePath containing the error. If this is not provided then defer to the RawText.

Message

Optional error message explaining the error. If this is not provided then defer to the RawText.

RawText

Gets the raw text of the Bicep tool message.

Methods

ToString()

Returns a string that represents the current object.

Applies to