Change error handling to use assert as per Araq's comment
Change error handling to use assert as per Araq's comment

tulayang/Nim,dom96/Nim,russpowers/Nim,russpowers/Nim,russpowers/Nim,tulayang/Nim,dom96/Nim,dom96/Nim,dom96/Nim,tulayang/Nim,russpowers/Nim,tulayang/Nim,dom96/Nim,tulayang/Nim,russpowers/Nim,dom96/Nim,russpowers/Nim,dom96/Nim,russpowers/Nim,tulayang/Nim