# Class: Failure
@boll/core › Globals › Failure
# Class: Failure
# Hierarchy
- Failure
# Implements
# Index
# Constructors
# Properties
# Accessors
# Constructors
# constructor
+ new Failure(ruleName
: string, filename
: BollFile, line
: BollLineNumber, text
: string): Failure
Defined in result-set.ts:22
Parameters:
Name | Type |
---|---|
ruleName | string |
filename | BollFile |
line | BollLineNumber |
text | string |
Returns: Failure
# Properties
# filename
• filename: BollFile
Defined in result-set.ts:23
# line
• line: BollLineNumber
Defined in result-set.ts:23
# ruleName
• ruleName: string
Defined in result-set.ts:23
# text
• text: string
Defined in result-set.ts:23
# Accessors
# formattedMessage
• get formattedMessage(): string
Defined in result-set.ts:29
Returns: string
# status
• get status(): ResultStatus
Defined in result-set.ts:25
Returns: ResultStatus