Throw some exceptions so I can spot deprecated code.

This commit is contained in:
James Cole
2023-09-21 16:09:40 +02:00
parent 0b220f3288
commit 62bba0d33b
22 changed files with 51 additions and 42 deletions

View File

@@ -49,8 +49,8 @@ return [
'transaction_types_equal' => 'All splits must be of the same type.',
'invalid_transaction_type' => 'Invalid transaction type.',
'invalid_selection' => 'Your selection is invalid.',
'belongs_user' => 'This value is invalid for this field.',
'belongs_user_or_user_group' => 'This value is invalid for this field.',
'belongs_user' => 'This value is linked to an object that does not belong to you.',
'belongs_user_or_user_group' => 'This value is linked to an object that does not belong to your current financial administration.',
'at_least_one_transaction' => 'Need at least one transaction.',
'recurring_transaction_id' => 'Need at least one transaction.',
'need_id_to_match' => 'You need to submit this entry with an ID for the API to be able to match it.',