Added own errors struct