PromptException constructor

const PromptException({
  1. String? message = '',
})

Exception thrown when some error occurs while working with a prompt.

Implementation

const PromptException({
  super.message = '',
}) : super(code: 'prompt');