create(): Create a custom error class