Interface FailModule

Hierarchy

Index

Methods

Methods

public fatal(error: string, errorCode?: ErrorCode)

Display a warning and abort Grunt immediately.

Parameters

  • error: string
  • errorCode?: ErrorCode optional

public fatal(error: Error, errorCode?: ErrorCode)

Parameters

  • error: Error
  • errorCode?: ErrorCode optional

public warn(error: string, errorCode?: ErrorCode)

Display a warning and abort Grunt immediately. Grunt will continue processing tasks if the --force command-line option was specified.

Parameters

  • error: string
  • errorCode?: ErrorCode optional

public warn(error: Error, errorCode?: ErrorCode)

Parameters

  • error: Error
  • errorCode?: ErrorCode optional