package rpc // all errors are defined here. since RPC is sync locked, // no problem would be mutating RequestID var LUX_RPC_ERROR_UNKNOWN_CONTROLLER = LuxRpcError{ ErrorCode: 1, Message: "unknown controller", } var LUX_RPC_ERROR_ACCESS_DENIED = LuxRpcError{ ErrorCode: 2, Message: "access denied", }