generationFailed static method

SDKException generationFailed(
  1. String reason
)

Implementation

static SDKException generationFailed(String reason) => _build(
  code: pb_enum.ErrorCode.ERROR_CODE_GENERATION_FAILED,
  category: pb_enum.ErrorCategory.ERROR_CATEGORY_INTERNAL,
  message: 'Text generation failed: $reason',
);