CheckFailedException constructor

CheckFailedException(
  1. AbstractCheck failed,
  2. CommandContext context
)

Create a new CheckFailedException.

Implementation

CheckFailedException(this.failed, CommandContext context)
    : super('Check "${failed.name}" failed', context);