diff --git a/lib/session.js b/lib/session.js
index <HASH>..<HASH> 100644
--- a/lib/session.js
+++ b/lib/session.js
@@ -10,7 +10,7 @@ const Store = require('./store');
 const uid = require('uid-safe');
 
 /* istanbul ignore next */
-function defaultErrorHanlder(err, type) {
+function defaultErrorHandler(err, type) {
   /* eslint no-param-reassign:0 */
   err.name = `${pkg.name} ${type} error`;
   throw err;
@@ -33,7 +33,7 @@ module.exports = (opts) => {
   debug('options:%j', options);
   const key = options.key || 'koa.sid';
   const client = options.store || new FileStore();
-  const errorHandler = options.errorHandler || defaultErrorHanlder;
+  const errorHandler = options.errorHandler || defaultErrorHandler;
   const reconnectTimeout = options.reconnectTimeout || 10 * 1000;
   const store = new Store(client, {
     ttl: options.ttl,
Fix typo in var name

Handler was misspelled