Raise named error to allow better catching