SupaException.missingColumn constructor

SupaException.missingColumn(
  1. String columnName
)

Creates an exception for a missing column in the JSON data.

Implementation

SupaException.missingColumn(String columnName)
    : message = 'The column `$columnName` was not found in the JSON data.',
      hint =
          '''Make sure you added `columns: { YourTable.${_camelCase(columnName)} }` to your type-safe query.''';