2018-01-03 04:05:53 +00:00
|
|
|
// Copyright IBM Corp. 2014,2018. All Rights Reserved.
|
2016-05-03 22:50:21 +00:00
|
|
|
// Node module: loopback
|
|
|
|
// This file is licensed under the MIT License.
|
|
|
|
// License text available at https://opensource.org/licenses/MIT
|
|
|
|
|
2016-11-15 21:46:23 +00:00
|
|
|
'use strict';
|
2019-10-07 09:45:34 +00:00
|
|
|
const g = require('../../lib/globalize');
|
2016-08-17 12:41:48 +00:00
|
|
|
|
2016-07-28 14:36:23 +00:00
|
|
|
module.exports = function() {
|
2016-08-10 11:37:25 +00:00
|
|
|
throw new Error(g.f(
|
|
|
|
'%s middleware was removed in version 3.0. See %s for more details.',
|
|
|
|
'loopback#context',
|
2019-11-17 19:04:57 +00:00
|
|
|
'http://loopback.io/doc/en/lb2/Using-current-context.html',
|
2018-08-08 15:22:20 +00:00
|
|
|
));
|
2016-07-28 14:36:23 +00:00
|
|
|
};
|