ENUM

# RoomleConfiguratorError

Contents

  • Cases
    • invalidArgument(message:)
    • noConfigurationLoaded
    • noDragAvailable
public enum RoomleConfiguratorError : Error

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

# Cases

# invalidArgument(message:)

case invalidArgument(message: String)

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

  • parameter message: describes what exactly went wrong.

# noConfigurationLoaded

case noConfigurationLoaded

Is thrown if something is executed without previously loading a configuration

# noDragAvailable

case noDragAvailable

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