notifyErrorFunctionType type

Notify error function type

type notifyErrorFunctionType = (errorMessage: string) => void