Package-level declarations

This package provides utility classes and enumerations related to Nexus integration.

Contents

  • NexusRet – Enumeration of return codes from Nexus methods, to map errors and behaviors.

  • INexusDspCallbacksPort – Interface for receiving text callbacks.

  • NexusException - Exception class for handling errors from Nexus methods.

Usage

Use NexusRet.fromCode(code) to convert integer return codes into enums.

val result = NexusRet.fromCode(0)
if (result == NexusRet.OK) {
println("Operation successful!")
}

Types

Link copied to clipboard
Link copied to clipboard
class NexusException(val nexusRet: NexusRet, message: String = nexusRet.name) : Exception