Skip to content

Comments

Deal with etree not being able to parse the document better#50

Merged
jlward merged 2 commits intomasterfrom
issue_50
Jul 3, 2013
Merged

Deal with etree not being able to parse the document better#50
jlward merged 2 commits intomasterfrom
issue_50

Conversation

@jlward
Copy link
Contributor

@jlward jlward commented Jul 3, 2013

Right now a nasty SyntaxError is raised. Instead make a custom exception and raise that guy instead.

@ghost ghost assigned jlward Jul 3, 2013
@winhamwr
Copy link
Contributor

winhamwr commented Jul 3, 2013

Good idea. Looks good. At some point, you'll probably want to implement an exceptions hierarchy, with all pydocx exceptions inheriting from a base pydocx exception.

@jlward
Copy link
Contributor Author

jlward commented Jul 3, 2013

I already thought of that, I decided to punt for now since there is only one exception.

jlward added a commit that referenced this pull request Jul 3, 2013
Deal with etree not being able to parse the document better
@jlward jlward merged commit a47c8bc into master Jul 3, 2013
jlward pushed a commit that referenced this pull request Mar 14, 2014
jlward added a commit that referenced this pull request Mar 14, 2014
Deal with etree not being able to parse the document better
jlward pushed a commit that referenced this pull request Mar 14, 2014
jlward added a commit that referenced this pull request Mar 14, 2014
Deal with etree not being able to parse the document better
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants