Right know to get the object from errors classes we need to use this code ```javascript error = errors.get("email") ``` it will be great if we can fetch the error using object method like ```javascript error = errors.email ``` or ```javascript error = errors[email] ```
Right know to get the object from errors classes we need to use this code
it will be great if we can fetch the error using object method like
or