Description
The register method of the Register.vue file has exception handling that can be separated into another method.
Expected behavior
Create a method for error handling that is separate from the registration method.
Current behavior
Everything is being done in the register method.
Steps to reproduce the behavior
Which steps have been taken to reach the problem?
Checklist