warn: function (message) {
    if (typeof message !== 'string') {
      throw new TypeError('Param message must be a string')
    }