NimbleError is now captured in debug mode as well as release mode.

This commit is contained in:
Dominik Picheta 2016-12-20 23:40:26 +01:00
commit 60aa57be24
2 changed files with 18 additions and 11 deletions

View file

@ -8,7 +8,7 @@ when not defined(nimscript):
import sets
import version
export version.NimbleError
export version.NimbleError # TODO: Surely there is a better way?
type
BuildFailed* = object of NimbleError
@ -37,5 +37,8 @@ when not defined(nimscript):
srcDir*: string
backend*: string
## Same as quit(QuitSuccess), but allows cleanup.
NimbleQuit* = ref object of Exception
const
nimbleVersion* = "0.7.11"