-
... .current.convert(str) } *unconvert { arg list; ^this.current.unconvert(list) } *error { arg string, index; Error("conversion failed: " ++ string.insert(index, Char.bullet).quote).throw; } } // a very simple string converter EventScoreReader ...
-
... this.assertException( { satie.replaceAmbiPostProcessor(\Identity, order: 2) }, Error, "Only configured ambisonic orders should be allowed by replaceAmbiPostProc" ) } }
-
... openBundle(bundle); try { func.value(this); bundle = this.closeBundle(time); }{|error| addr = addr.saveAddr; // on error restore the normal NetAddr broadcast = true; error.throw } ^bundle } options { ^homeServer.options } makeWindow { homeS ...
-
... 'json', 'multipart'])) { case 'urlencoded': // parse urlencoded body throw new Error('implement urlencoded body parsing') case 'json': // parse json body throw new Error('implement json body parsing') case 'multipart': // parse multipart b ...
-
... ifeScene 1", { "The saved file was not created for this version of ModernLife.".error; ^this.halt; }); if(savedParams.last != "?EndSave", { "The save file is truncated.".error; ^this.halt; }); if(numDivs != savedParams[1].interpret, { ("num ...
-
... BoundaryConds.includes(newBoundaryCond).if { boundaryCond = newBoundaryCond } { Error("arg boundaryCond=% is not a valid 1D boundary condition".format(newBoundaryCond)).throw } } jsonString { var bcStr = boundaryCond.asString; bcStr = bcStr ...
-
... e 1.0.1 / 2015-02-13 ================== * Improve missing `Content-Type` header error message 1.0.0 / 2015-02-01 ================== * Initial implementation, derived from `media-typer@0.3.0`
-
... cludes(this.boardPinNumber).not) {^"Digital pin does not have pwm capabilities".error}; if(mode == unavailable) {^("Cannot set mode for pin " ++ this.boardPinNumber.asString).error}; mode = argMode; this.sp.putAll(Int8Array[ set_digital_pin ...
-
... uses the filters' default arguments, but this should catch most initialisation errors. test_time_invariance { // a list of filters to test. Should basically be Filter.allsubclasses, minus a // few odd ones like DetectSilence, plus anything ...
-
... l| ^inval.asInteger.clip( minval,maxval ); } asSpec { ^this; } } // to avoid an error on the .trace method + Integer { asStringPrec { arg precision; this.asFloat.asStringPrec( precision ); } }