parro-it / gravity-func

functional utility for gravity
MIT License
7 stars 1 forks source link

Use Fiber.abort #1

Closed marcobambini closed 7 years ago

marcobambini commented 7 years ago

Replace your custom raiseError function with the new built-in Fiber.abort.

func raiseError(msg) {
    Fiber.abort(msg);
}
parro-it commented 7 years ago

Thank you @marcobambini, done in my last commit