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

hyperledger / identus-cloud-agent / 11056733508

26 Sep 2024 04:52PM UTC coverage: 48.532% (-0.03%) from 48.558%
11056733508

Pull #1366

CryptoKnightIOG
ATL-7775: Fix integration test

Signed-off-by: Bassam Riman <bassam.riman@iohk.io>
Pull Request #1366: feat: Default Backend API to Array Of Credential Schema

41 of 54 new or added lines in 8 files covered. (75.93%)

187 existing lines in 61 files now uncovered.

7622 of 15705 relevant lines covered (48.53%)

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