Skip to content

Commit

Permalink
fix: update error code numbering
Browse files Browse the repository at this point in the history
Trying to make it a single 1000 range per contract so it's easy to know where the error came from.
  • Loading branch information
whoabuddy committed Jan 10, 2025
1 parent 564c8e9 commit 411823b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/dao/extensions/aibtc-onchain-messaging.clar
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

;; constants
;;
(define-constant INPUT_ERROR (err u400))
(define-constant ERR_UNAUTHORIZED (err u2000))
(define-constant INPUT_ERROR (err u4000))
(define-constant ERR_UNAUTHORIZED (err u4001))

;; public functions

Expand Down

0 comments on commit 411823b

Please sign in to comment.