Skip to content

Commit ad8be2c

Browse files
committed
chore: document error and message key options
1 parent f9bf44f commit ad8be2c

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,14 @@ module.exports = {
108108
"msg",
109109
"responseTime",
110110
],
111-
111+
/**
112+
* Configure the message key
113+
*/
114+
messageKey: 'msg',
115+
/**
116+
* Configure the error key
117+
*/
118+
errorKey: 'err',
112119
/**
113120
* theme
114121
* (chalk: Chalk) => string

0 commit comments

Comments
 (0)