docs: function getError (type, expected, actual) {
          return {
              attribute: type,
              expected: expected,
              actual: actual,
              message: getMsg(type, expected)
          };
      }