I worked on my first hobby project.
Today I learned that it’s complicated to subclass Error
, because, depending on the implementation, Error is a function that returns an object and not a class constructor. I have mitigated the problem by using a module from npm. There are many actually, I just picked one whose source code I saw and liked.
I tried to play some ranked LoL games in addition to the usual coop and Hexakill, and failed miserably on my series.
I want to adjust my sleep pattern again to be work-compatible. Here’s to still sleeping on Saturday night. 🍰