⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.45
Server IP:
185.238.29.86
Server:
Linux server2 6.8.12-6-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-6 (2024-12-19T19:05Z) x86_64
Server Software:
nginx/1.18.0
PHP Version:
8.1.31
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
invoice
/
node_modules
/
vform
/
types
/
Edit File: Errors.d.ts
export default class Errors { errors: Record<string, any>; /** * Create a new error bag instance. */ constructor(); /** * Set the errors object or field error messages. */ set(field: string | Record<string, any>, messages?: any): void; /** * Get all the errors. */ all(): Record<string, any>; /** * Determine if there is an error for the given field. */ has(field: string): boolean; /** * Determine if there are any errors for the given fields. */ hasAny(...fields: string[]): boolean; /** * Determine if there are any errors. */ any(): boolean; /** * Get the first error message for the given field. */ get(field: string): string | undefined; /** * Get all the error messages for the given field. */ getAll(field: string): string[]; /** * Get the error message for the given fields. */ only(...fields: string[]): string[]; /** * Get all the errors in a flat array. */ flatten(): string[]; /** * Clear one or all error fields. */ clear(field?: string | undefined): void; }
Simpan