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

hyperledger / identus-cloud-agent / 10806888215

11 Sep 2024 07:18AM UTC coverage: 48.439% (-0.1%) from 48.554%
10806888215

Pull #1339

web-flow
Merge branch 'main' into feat/ATL-6983-zio-stream-kafka-poc-in-connect-bg-jobs
Pull Request #1339: feat: ATL-6983 ZIO Stream Kafka PoC in background jobs

135 of 496 new or added lines in 18 files covered. (27.22%)

179 existing lines in 56 files now uncovered.

7554 of 15595 relevant lines covered (48.44%)

0.48 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
package object error {
4

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

14
  sealed trait DIDResolutionError
15

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

24
  sealed trait OperationValidationError
25

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

33
}
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