SubjectOnError type

A function that is called when an error occurs

Signature:

export type SubjectOnError = (message: string) => void;