code: function applicableMessages(messages, options) {
    var length = messages.length
    var index = -1
    var result = []
  
    if (options.silent) {
      while (++index < length) {
        if (messages[index].fatal) {
          result.push(messages[index])
        }
      }
    } else {
      result = messages.concat()
    }
  
    return result
  }
docs: Get applicable messages.