Separate errors from output - Swift | Zoonk