Skip to content

Commit

Permalink
chore: remove obsolete custom exception
Browse files Browse the repository at this point in the history
  • Loading branch information
ugurakin1 committed Aug 31, 2024
1 parent a1080b1 commit d8dd004
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ class InvalidBloodPressure : Exception("Blood pressure is not valid")
class InvalidMass : Exception("Mass is not valid")
class InvalidLength : Exception("Length is not valid")
class AggregationNotSupported : Exception("Aggregation is not supported for this record")
class UnsupportedPermissionType : Exception()

fun Promise.rejectWithException(exception: Exception) {
val code = when (exception) {
Expand Down

0 comments on commit d8dd004

Please sign in to comment.