generationTimeout static method

SDKException generationTimeout([
  1. String? reason
])

Implementation

static SDKException generationTimeout([String? reason]) => _build(
  code: pb_enum.ErrorCode.ERROR_CODE_GENERATION_TIMEOUT,
  category: pb_enum.ErrorCategory.ERROR_CATEGORY_INTERNAL,
  message: reason != null
      ? 'Generation timed out: $reason'
      : 'Text generation timed out.',
);