- $data['exception, preview'] = [
- new ThrowPromise(new \Exception('The exception message')),
- TRUE,
- 'Placeholder for the "The Field Label" field',
- 'The field "%field" failed to render with the error of "%error".',
- ['%field' => 'the_field_name', '%error' => 'The exception message'],
- ];