Drift Engine Documentation
Toggle table of contents
1.0.0
common
Target filter
common
Switch theme
Search in API
Skip to content
Drift Engine Documentation
core
/
dev.gmitch215.drift.lab
/
FailWhen
Fail
When
sealed
interface
FailWhen
(
source
)
What counts as a failing trial: a nonzero exit, or output that matches a pattern.
Inheritors
Exit
Matches
Members
Types
Companion
Link copied to clipboard
object
Companion
Exit
Link copied to clipboard
data
object
Exit
:
FailWhen
Matches
Link copied to clipboard
data
class
Matches
(
val
pattern
:
String
)
:
FailWhen
Functions
failed
Link copied to clipboard
abstract
fun
failed
(
trial
:
RawTrial
)
:
Boolean
text
Link copied to clipboard
abstract
fun
text
(
)
:
String