Skip to content

Commit

Permalink
Create Error+Extensions.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelesantos committed Aug 22, 2024
1 parent 91bfb43 commit a798b30
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Sources/RefdsShared/Extension/Error+Extensions.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import Foundation

public extension Error {
var refdsError: RefdsError {
.custom(message: localizedDescription)
}
}

0 comments on commit a798b30

Please sign in to comment.