Skip to content

Commit

Permalink
Improved error reporting when unable to create a database folder
Browse files Browse the repository at this point in the history
  • Loading branch information
mkromberg committed Oct 4, 2017
1 parent 228f1d1 commit b85837c
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions vecdb.dyalog
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,8 @@
:EndProperty
:EndSection Properties

:EndSection

Open(folder)
:Implements constructor
:Implements Constructor
:Access Public

OpenFull(folder ) Open all shards
Expand Down Expand Up @@ -293,21 +291,21 @@

make4(name folder columns types)
:Implements constructor
:Implements Constructor
:Access Public
0 CreateOrExtend name folder columns types'' '' No data or option
Open,folder now open it properly

make5(name folder columns types options)
:Implements constructor
:Implements Constructor
:Access Public
0 CreateOrExtend name folder columns types options'' No data or option
Open,folder now open it properly

make6(name folder columns types options data)
:Implements constructor
:Implements Constructor
:Access Public
0 CreateOrExtend name folder columns types options data
Open,folder now open it properly
Expand Down Expand Up @@ -335,7 +333,7 @@
('"',metafile,'" already exists')⎕SIGNAL(Exists metafile)/11
:Else Folder does not exist
:Trap 0 MkDir ¯1folder
:Else ⎕DMX.Message ⎕SIGNAL ⎕DMX.EN
:Else ⎕DMX.EM ⎕SIGNAL ⎕DMX.EN
:EndTrap
:EndIf
ProcessOptions options Sets global fields
Expand Down Expand Up @@ -1028,3 +1026,4 @@
:EndSection Files

:EndClass
)(!Delete!!0 0 0 0 0 0 0!0

0 comments on commit b85837c

Please sign in to comment.