private def parse()

in common/scala/src/main/scala/org/apache/openwhisk/core/connector/Message.scala [699:712]


  private def parse(name: String) = name.toUpperCase match {
    case "NOAVAILABLEINVOKERSERROR"         => NoAvailableInvokersError
    case "NOAVAILABLERESOURCEINVOKERSERROR" => NoAvailableResourceInvokersError
    case "RESOURCENOTENOUGHERROR"           => ResourceNotEnoughError
    case "NONEXECUTBLEACTIONERROR"          => NonExecutableActionError
    case "DBFETCHERROR"                     => DBFetchError
    case "WHISKERROR"                       => WhiskError
    case "BLACKBOXERROR"                    => BlackBoxError
    case "TIMEOUTERROR"                     => TimeoutError
    case "ZERONAMESPACELIMIT"               => ZeroNamespaceLimit
    case "TOOMANYCONCURRENTREQUESTS"        => TooManyConcurrentRequests
    case "UNKNOWNERROR"                     => UnknownError
    case "INVALIDACTIONLIMITERROR"          => InvalidActionLimitError
  }