Throwing an error as Error instance.