All Downloads are FREE. Search and download functionalities are using the official Maven repository.

sss.openstar.rpc.RpcErrors.scala Maven / Gradle / Ivy

package sss.openstar.rpc

import sss.openstar.ui.rpc.AppError

object RpcErrors {
  val noSessionError = AppError("NoSession", "No session found, not logged in")
  val noTokensError = AppError("NoTokens", "Bad request, tokens needed for proxy and client")
  val tempNackError = AppError("InternalTempNack", "Try again, system busy")

  def transferError(failMsg: String): AppError = AppError("TransferFailure", failMsg)

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy