add: error to response model.

This commit is contained in:
Darshan 2025-06-01 12:56:59 +05:30
parent 48d5ae0bca
commit 66194722a9

View file

@ -85,6 +85,13 @@ class Migration extends Model
'default' => [],
'example' => [],
])
->addRule('error', [
'type' => self::TYPE_STRING,
'description' => 'A readable error message that occurred during the CSV migration process.',
'array' => false,
'default' => null,
'example' => '',
])
;
}