Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

TypeError: datatype_expansion.canonical_form.Exception is not a constructor #6

Open
reidlai opened this issue Jul 6, 2018 · 2 comments

Comments

@reidlai
Copy link

reidlai commented Jul 6, 2018

What does this error mean? I encountered this error when i run osprey-mock-service -f xxx.api.raml -p 3000. Thanks for any hint

@deyikong
Copy link

deyikong commented Jan 7, 2019

@reidlai Did you figure out a solution?

@deyikong
Copy link

deyikong commented Jan 8, 2019

@reidlai and whoever has this problem.
I found out why it gave me that exception in my case.
I have one type inheriting another type, and one property in the child class overrides the same property in the parent type. Raml parser(in my case, I'm using raml-cop) didn't catch it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants