Add error parameter to handle failing Sec~ method
Add test cases for handling error
Merge pull request #24 from kishikawakatsumi/error

Add error parameter to handle failing Sec~ method