IotaAPIError public struct IotaAPIError: Error Carries an error message. message The error message. Declaration Swift public let message: String init(_:) The initializer for IotaAPIError. Declaration Swift public init(_ message: String) Parameters message The error message.