* Flashes errors to the errorsBag. You can read these errors via the "@error" tag. * Appends new messages to the existing collection. * * @param errorsCollection - Collection of error messages * * @example * session.flashErrors({ * general: 'Something went wrong', * valid
(errorsCollection: Record<string, string | string[]>)
| 428 | * }) |
| 429 | */ |
| 430 | flashErrors(errorsCollection: Record<string, string | string[]>) { |
| 431 | this.flash({ errorsBag: errorsCollection }) |
| 432 | } |
| 433 | |
| 434 | /** |
| 435 | * Flashes validation error messages. Make sure the error is an instance of VineJS ValidationException. |
no test coverage detected