• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

hyperledger / identus-cloud-agent / 11407164708

18 Oct 2024 04:02PM UTC coverage: 48.619% (-0.1%) from 48.741%
11407164708

Pull #1400

FabioPinheiro
build: add job Update Dependency Graph

Signed-off-by: FabioPinheiro <fabiomgpinheiro@gmail.com>
Pull Request #1400: build: add job Update Dependency Graph

7867 of 16181 relevant lines covered (48.62%)

0.49 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/castor/src/main/scala/org/hyperledger/identus/castor/core/model/error/package.scala
1
package org.hyperledger.identus.castor.core.model
2

3
import org.hyperledger.identus.shared.models.KeyId
4

5
package object error {
6

7
  sealed trait DIDOperationError
8
  object DIDOperationError {
9
    final case class DLTProxyError(msg: String, cause: Throwable) extends DIDOperationError {
10
      def getMessage = msg + ": " + cause.getMessage()
×
11
    }
12
    final case class UnexpectedDLTResult(msg: String) extends DIDOperationError
13
    final case class ValidationError(cause: OperationValidationError) extends DIDOperationError
14
  }
15

16
  sealed trait DIDResolutionError
17

18
  object DIDResolutionError {
19
    final case class DLTProxyError(msg: String, cause: Throwable) extends DIDResolutionError {
20
      def getMessage = msg + ": " + cause.getMessage()
×
21
    }
22
    final case class UnexpectedDLTResult(msg: String) extends DIDResolutionError
23
    final case class ValidationError(cause: OperationValidationError) extends DIDResolutionError
24
  }
25

26
  sealed trait OperationValidationError
27

28
  object OperationValidationError {
29
    final case class TooManyDidPublicKeyAccess(limit: Int, access: Option[Int]) extends OperationValidationError
30
    final case class TooManyDidServiceAccess(limit: Int, access: Option[Int]) extends OperationValidationError
31
    final case class InvalidArgument(msg: String) extends OperationValidationError
32
    final case class InvalidMasterKeyData(ids: Seq[KeyId]) extends OperationValidationError
33
  }
34

35
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc