Skip to content

Commit

Permalink
Remove err.get
Browse files Browse the repository at this point in the history
  • Loading branch information
bkiac authored Nov 11, 2023
1 parent 7ede6c3 commit 0737def
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/result/err.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,6 @@ export class ErrImpl<E> implements ErrVariant<E>, ResultMethods<never, E> {
return defaultValue(this.value)
}

get() {
return this.value
}

match<A, B>(_ok: (value: never) => A, err: (error: E) => B) {
return err(this.value)
}
Expand Down

0 comments on commit 0737def

Please sign in to comment.