ENUM

# RoomleConfiguratorError

Contents

  • Cases
    • invalidArgument(message:)
    • noConfigurationLoaded
    • noDragAvailable

All possible errors which are thrown if something invalid is called or something unexpected occured.

# Cases

# invalidArgument(message:)

Is thrown if something invalid is called like RoomleConfigurator.load(configuration: String) with an empty string.

  • parameter message: describes what exactly went wrong.

# noConfigurationLoaded

Is thrown if something is executed without previously loading a configuration

# noDragAvailable

Indicates that no drag is in progress or that a drag is currently not available