Skip to content

Commit

Permalink
Added errors
Browse files Browse the repository at this point in the history
  • Loading branch information
obscuren committed Feb 18, 2015
1 parent 655e942 commit ee9df32
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions core/error.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
package core

import (
"errors"
"fmt"
"math/big"
)

var (
BlockNumberErr = errors.New("block number invalid")
BlockFutureErr = errors.New("block time is in the future")
)

// Parent error. In case a parent is unknown this error will be thrown
// by the block manager
type ParentErr struct {
Expand Down

0 comments on commit ee9df32

Please sign in to comment.