krayin/laravel-crm · error · InvalidColumnTypeException

Invalid column type: {$type}

Error message

Invalid column type: {$type}

What it means

Error "Invalid column type: {$type}" thrown in krayin/laravel-crm.

Source

Thrown at packages/Webkul/DataGrid/src/Enums/ColumnTypeEnum.php:64

    /**
     * Aggregate.
     */
    case AGGREGATE = 'aggregate';

    /**
     * Get the corresponding class name for the column type.
     */
    public static function getClassName(string $type): string
    {
        return match ($type) {
            self::STRING->value => Text::class,
            self::INTEGER->value => Integer::class,
            self::FLOAT->value => Decimal::class,
            self::BOOLEAN->value => Boolean::class,
            self::DATE->value => Date::class,
            self::DATETIME->value => Datetime::class,
            self::AGGREGATE->value => Aggregate::class,
            default => throw new InvalidColumnTypeException("Invalid column type: {$type}"),
        };
    }
}

View on GitHub (pinned to 13d6988cda)

When it happens

Trigger: Thrown at packages/Webkul/DataGrid/src/Enums/ColumnTypeEnum.php:64 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of krayin/laravel-crm@13d6988cda (2026-08-17). Data as JSON: /api/errors/ecd8a915ae365ea4. Report an issue: GitHub.