Skip to content

Commit 8065f7e

Browse files
committed
Keep Line::Bot::API::Error
1 parent b3f895c commit 8065f7e

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

lib/line/bot.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
require 'line/bot/util'
1616
require 'line/bot/client'
1717
require 'line/bot/event'
18+
require 'line/bot/api/errors'
1819
require 'line/bot/api'
1920
require 'line/bot/request'
2021
require 'line/bot/httpclient'

lib/line/bot/api/errors.rb

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Copyright 2016 LINE
2+
#
3+
# LINE Corporation licenses this file to you under the Apache License,
4+
# version 2.0 (the "License"); you may not use this file except in compliance
5+
# with the License. You may obtain a copy of the License at:
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12+
# License for the specific language governing permissions and limitations
13+
# under the License.
14+
15+
module Line
16+
module Bot
17+
module API
18+
class Error < StandardError; end
19+
end
20+
end
21+
end

0 commit comments

Comments
 (0)