emartinez-dev / miniRT

This project is an introduction to the beautiful world of Raytracing. Once completed you will be able to render simple Computer-Generated-Images and you will never be afraid of implementing mathematical formulas again.
The Unlicense
2 stars 0 forks source link

Handle errors in the .pt file #19

Closed emartinez-dev closed 1 year ago

emartinez-dev commented 1 year ago

If any misconfiguration is encountered in the scene description file, your program should exit properly and return an error message starting with "Error\n" followed by an explicit error message of your choice.

emartinez-dev commented 1 year ago

I have already implemented this and handled all the errors, but I formatted them as [ <thing_that_fails> ERROR ] <msg>