Fix: Made err method static