Options
All
  • Public
  • Public/Protected
  • All
Menu

Module utils/Message

Index

Properties

Properties

default

default: { error: (err: Error, message?: string) => void; info: (message: string) => void }

Type declaration

  • error: (err: Error, message?: string) => void
      • (err: Error, message?: string): void
      • Show a with an error message (and log it to the console as well)

        Parameters

        • err: Error

          The error

        • Optional message: string

          And optional message to explain it

        Returns void

  • info: (message: string) => void
      • (message: string): void
      • Show a with info

        Parameters

        • message: string

          A message

        Returns void

Generated using TypeDoc