isConfigurationError property

bool get isConfigurationError

Whether this is a configuration error (developer issue).

Implementation

bool get isConfigurationError {
  const configCodes = [
    'product_not_found',
    'invalid_product',
    'store_not_configured',
  ];
  return configCodes.contains(code);
}